Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug #14380 Image Filter does not generate alt by default

  • Loading branch information...
commit 70a8510e50b4d857e3baf702e14f2f0d3f093b21 1 parent aed59d8
@CloCkWeRX CloCkWeRX authored
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);
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.