|
ticket id 000049 |
status open |
priority ??? |
assigned to NOBODY |
Reported by: Jason Ford Component: |
If you create a reference to a URL, but don't define it later, you get an unclosed anchor tag. It seems that desired behavior would be for the link to be ignored.
Here's the code that gave me trouble
Django's support for [CouchDB][] (another technology we are using with FeedMagnet) is a good example of this.
The problem was that I never defined CouchDB like this
[CouchDB]:
Forgetting to define the link reference can happen on accident fairly easily if your text has a lot of links in it. If this scenario occurs, I would think the desired HTML output would be:
Django's support for [CouchDB][] (another technology we are using with FeedMagnet) is a good example of this.
or maybe even drop the brackets all-together to fail more gracefully:
Django's support for CouchDB (another technology we are using with FeedMagnet) is a good example of this.
But instead, I got this:
Django's support for [CouchDB]<a href="another technology we are using with FeedMagnet" /> is a good example of this.
In Safari, this doesn't look so bad - but in Firefox (and possibly other browsers) this results in the rest of the page being a link to nowhere, since there is no closing anchor tag. This seems to be a bug since one of the primary reasons (at least from my perspective) in using Markdown, is to prevent accidental HTML syntax errors like the unclosed anchor tag this scenario is generating.