Skip to content

Commit

Permalink
Merge pull request #19 from wildtruc/master
Browse files Browse the repository at this point in the history
wiki media url regex fix
  • Loading branch information
turnermm authored Jun 25, 2019
2 parents cb638d9 + 6f00a14 commit 556847f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/feedData.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function _readFile($file, $ser=false) {

function description() {
$this->currentDataArray['item'] =
preg_replace('#(href|src)\s*=\s*([\'\"])/.*?/#ms', "$1=$2" . $this->news_feed_url(), $this->currentDataArray['item']);

// preg_replace('#(href|src)\s*=\s*([\'\"])/.*?/#ms', "$1=$2" . $this->news_feed_url(), $this->currentDataArray['item']);
preg_replace('#(href|src)\s*=\s*([\'\"])/#ms', "$1=$2" . $this->news_feed_url(), $this->currentDataArray['item']);
return $this->currentDataArray['item'];
}

Expand Down

0 comments on commit 556847f

Please sign in to comment.