Skip to content

Commit

Permalink
Bug #14380 Image Filter does not generate alt by default
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Jan 2, 2012
1 parent aed59d8 commit 70a8510
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HTML/BBCodeParser/Filter/Images.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function _preparse()
$ce = $options['close_esc'];
$this->_preparsed = preg_replace(
"!".$oe."img(\s?.*)".$ce."(.*)".$oe."/img".$ce."!Ui",
$o."img=\"\$2\"\$1".$c.$o."/img".$c,
$this->_text);
$o."img=\"\$2\" alt=\"\"\$1".$c.$o."/img".$c,
$this->_text);
}
}
}

0 comments on commit 70a8510

Please sign in to comment.