fixes #1099
This commit is contained in:
@@ -5,6 +5,10 @@ class DTextTest < ActiveSupport::TestCase
|
||||
DText.parse(s)
|
||||
end
|
||||
|
||||
def test_sanitize_heart
|
||||
assert_equal('<p><3</p>', p("<3"))
|
||||
end
|
||||
|
||||
def test_sanitize_less_than
|
||||
assert_equal('<p><</p>', p("<"))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user