Displaying 1 result from an estimated 1 matches for "possabilit".
Did you mean:
possibilit
2008 Mar 15
1
Javascript in URLs (was: Markdown doesn't always generate XHTML)
...thought about myself. I
would think that markdown should *not* allow that regardless of any
safe/no-markup/whatever-you-call-it mode. If someone legitimately
wants javascript in their links/images/etc then they should be writing
raw html. What do you think?
Of course, then how do we do that? Some possabilites I came up with
without much thought:
1. Trunicate a url at "javascript:"
2. Completely remove the entire url (perhaps replace with blank string or "#")
3. Leave the markup for the entire link as plan text (in other words -
its not considered a match)
4. Do some kind of escapi...