Commit 07a8ac7e authored by Steffen Michels's avatar Steffen Michels

Merge branch '87-escape-quotation-marks-in-html-attribute-values' into 'master'

Escape quotation marks in HTML attribute values

Closes #87

See merge request !308
parents 1547d15e ddb742c3
Pipeline #40242 passed with stage
in 1 minute and 58 seconds
......@@ -429,4 +429,7 @@ instance html HtmlTag
instance html [a] | html a
instance html (Maybe a) | html a
escapeStr :: !String -> String
//* Escape a string for use as a HTML text node.
escapeForTextNode :: !String -> String
//* Escape a string for use as a HTML attribute value.
escapeForAttribute :: !String -> String
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment