Sha256: 32cc437d480167293c2d197da2ea8a9c2a66a7079a5844fd95a3e20272f864f8
Contents?: true
Size: 679 Bytes
Versions: 3
Compression:
Stored size: 679 Bytes
Contents
Make sure extended attributes get escaped when generating HTML: https://github.com/bhollis/maruku/issues/114 *** Parameters: *** {} # params *** Markdown input: *** *foo*{: style='ball & chain'} *foo*{: style='ball\008 chain'} *foo*{: style='ball\" badAttribute=\"chain'} *** Output of inspect *** md_el(:document, [ md_par(md_em("foo", [["style", "ball & chain"]])), md_par(md_em("foo", [["style", "ball\\008 chain"]])), md_par(md_em("foo", [["style", "ball\" badAttribute=\"chain"]])) ]) *** Output of to_html *** <p><em style="ball & chain">foo</em> </p> <p><em style="ball\008 chain">foo</em> </p> <p><em style="ball" badAttribute="chain">foo</em> </p>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
maruku-0.7.3 | spec/block_docs/attribute_sanitize.md |
maruku-0.7.2 | spec/block_docs/attribute_sanitize.md |
maruku-0.7.1 | spec/block_docs/attribute_sanitize.md |