diff options
author | Matt Friedman <maf675@gmail.com> | 2015-08-26 10:05:14 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2015-08-26 14:08:59 -0700 |
commit | e19d446881ba98d8a1082732585da3f6d4bd262f (patch) | |
tree | 3fc3b563391b63d1b9e9025245ceff0fcec25ca2 /tests/text_formatter/s9e/renderer_test.php | |
parent | 0a5f7d2e5114f66b373ff25cf29552a29b1dda50 (diff) | |
download | forums-e19d446881ba98d8a1082732585da3f6d4bd262f.tar forums-e19d446881ba98d8a1082732585da3f6d4bd262f.tar.gz forums-e19d446881ba98d8a1082732585da3f6d4bd262f.tar.bz2 forums-e19d446881ba98d8a1082732585da3f6d4bd262f.tar.xz forums-e19d446881ba98d8a1082732585da3f6d4bd262f.zip |
[ticket/14128] Fix img bbcode regression, lost postimage class
PHPBB3-14128
Diffstat (limited to 'tests/text_formatter/s9e/renderer_test.php')
-rw-r--r-- | tests/text_formatter/s9e/renderer_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/text_formatter/s9e/renderer_test.php b/tests/text_formatter/s9e/renderer_test.php index 3c0bbb96c7..ad5bfa78fc 100644 --- a/tests/text_formatter/s9e/renderer_test.php +++ b/tests/text_formatter/s9e/renderer_test.php @@ -112,7 +112,7 @@ class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case ), array( '<r><IMG src="http://example.org/foo.png"><s>[img]</s>http://example.org/foo.png<e>[/img]</e></IMG></r>', - '<img src="http://example.org/foo.png" alt="Image">', + '<img src="http://example.org/foo.png" class="postimage" alt="Image">', array('set_viewimg' => true) ), array( @@ -231,7 +231,7 @@ class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case ), array( '<r><IMG src="http://localhost/mrgreen.gif"><s>[img]</s><URL url="http://localhost/mrgreen.gif">http://localhost/mrgreen.gif</URL><e>[/img]</e></IMG></r>', - '<img src="http://localhost/mrgreen.gif" alt="Image">' + '<img src="http://localhost/mrgreen.gif" class="postimage" alt="Image">' ), array( '<r><IMG src="http://localhost/mrgreen.gif"><s>[img]</s><URL url="http://localhost/mrgreen.gif">http://localhost/mrgreen.gif</URL><e>[/img]</e></IMG></r>', |