BUGFIX: spoiler tag on lightboxed images wasn't working

This commit is contained in:
Régis Hanol
2014-01-12 19:38:46 +01:00
parent 090d7e2695
commit 70161498b6
5 changed files with 20 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ describe PrettyText do
end
it 'should add spoiler tags' do
PrettyText.cook("[spoiler]hello[/spoiler]").should match_html "<p><span class=\"spoiler\">hello</span></p>"
PrettyText.cook("[spoiler]hello[/spoiler]").should match_html "<p><div class=\"spoiler\">hello</div></p>"
end
end