Skip to content
Browse files

Bug #14380 Image Filter does not generate alt by default

  • Loading branch information...
1 parent aed59d8 commit 70a8510e50b4d857e3baf702e14f2f0d3f093b21 @CloCkWeRX CloCkWeRX committed Jan 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 HTML/BBCodeParser/Filter/Images.php
View
6 HTML/BBCodeParser/Filter/Images.php
@@ -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.
Something went wrong with that request. Please try again.