[Kramdown-users] Broken mailto: obfuscation
Eric Sunshine
sunshine at sunshineco.com
Tue Nov 24 22:44:02 EST 2009
Hi Thomas,
Given the following Markdown input with embedded HTML:
Mail: <a href="mailto:me at example.com?subject=Foo">My Name</a>
kramdown's email obfuscation badly corrupts it to:
<p>Mail: <a href="mailto:a &#
104;ref="mailto
;:me@example&#
046;com?subject
;=Foo"">a href
="mailto:me�
64;example.com
?subject=Fo
11;"</a>My Name</a></p>
which renders in the browser literally as:
Mail: [a href="mailto:me at example.com?subject=Foo"]My Name</a>
I added the [ brackets ] to show the clickable portion of the rendered
output. It should render as:
Mail: [My Name]
-- ES
More information about the Kramdown-users
mailing list