Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

URL's in the description field were incorrectly translated. #124

Closed
objectx opened this issue Sep 20, 2012 · 2 comments
Closed

URL's in the description field were incorrectly translated. #124

objectx opened this issue Sep 20, 2012 · 2 comments

Comments

@objectx
Copy link

objectx commented Sep 20, 2012

I've installed "commit 70080cb" of fulcrum.

Today, I've put a URL like [Bing](http://www.bing.com/) in the description field. But rendered story contains:

<a href="http%3a//www.bing.com/">Bing</a>

This should be a <a href="http://www.bing.com/">Bing</a>

Regards.

@malclocke
Copy link

Appears to be a double escaping problem with _.escape() and Markdown.Converter.

window.md.makeHtml('[foo](http:&#x2F;&#x2F;foo.com)')
"<p><a href="http%3a&#x2F;&#x2F;foo.com">foo</a></p>"

I'm pretty sure it's happening in Markdown.Converter somewhere.

@malclocke
Copy link

Well, that was quite hard to track down! Should be fixed in master as of d37f864

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants