Providing a new line as the first character of a URL in an inline link causes unexpected ouput.
Input
[Invalid](
http://www.example.com)
Expected Output
[Invalid]( http://www.example.com)
Or
Note: While the first option is what is displayed in the non-preview version, it could be argued that the new line should be treated as whitespace and behave the same as [Invalid]( http://www.example.com)
(the second option), in which case there's a bug in both the JavaScript preview and the non-preview version.
Actual Output
http://www.example.com">Invalid
Note: URL is not parsed into a link in actual output.
Live Output
[Invalid]( http://www.example.com)
Known Affected Browsers
Note: As so many different browsers are affected, this appears to not be a browser-specific issue, and is an issue with the markdown parser itself.
- Firefox 11, 12
- IE 8
- Chromium 6
- Chrome 19
- Konqueror 4.4.5