Escape each portion of a semicolon seprated value individually
Fixes #3872
This commit is contained in:
parent
fb81107b6e
commit
52078b5d76
2 changed files with 4 additions and 1 deletions
|
@ -22,6 +22,9 @@ class BrowseTagsHelperTest < ActionView::TestCase
|
|||
html = format_value("unknown", "unknown")
|
||||
assert_dom_equal "unknown", html
|
||||
|
||||
html = format_value("addr:street", "Rue de l'Amigo")
|
||||
assert_dom_equal "Rue de l'Amigo", html
|
||||
|
||||
html = format_value("phone", "+1234567890")
|
||||
assert_dom_equal "<a href=\"tel:+1234567890\" title=\"Call +1234567890\">+1234567890</a>", html
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue