Markdown : Not possible to link a URL containing ")"
Take for example Diasporas wiki page at http://en.wikipedia.org/wiki/Diaspora_(software). If a link is made using markdown syntax: [Diaspora](http://en.wikipedia.org/wiki/Diaspora_(software)) the result will be:
Diaspora
Is there any works arround? If not would it be possible to fix this on Diaspora?
Maybe we could keep going forward until the last closing paren in the token?
On Thu, Nov 3, 2011 at 7:17 PM, NEOhidra < [email protected]>wrote:
Take for example Diasporas wiki page at
http://en.wikipedia.org/wiki/Diaspora_(software). If a link is made using markdown syntax:[Diaspora]( http://en.wikipedia.org/wiki/Diaspora_(software))the result will be: DiasporaAny chance to fix this on Diaspora?
Reply to this email directly or view it on GitHub: https://github.com/diaspora/diaspora/issues/2312
We might have to get a fix upstream in RedCarpet to do it.
On Thu, Nov 3, 2011 at 7:21 PM, Raphael Sofaer [email protected] wrote:
Maybe we could keep going forward until the last closing paren in the token?
On Thu, Nov 3, 2011 at 7:17 PM, NEOhidra < [email protected]>wrote:
Take for example Diasporas wiki page at
http://en.wikipedia.org/wiki/Diaspora_(software)http://en.wikipedia.org/wiki/Diaspora_(software). If a link is made using markdown syntax:[Diaspora]( http://en.wikipedia.org/wiki/Diaspora_(software))http://en.wikipedia.org/wiki/Diaspora_(software))the result will be: DiasporaAny chance to fix this on Diaspora?
Reply to this email directly or view it on GitHub: https://github.com/diaspora/diaspora/issues/2312
just recently started browsing here...
[Diaspora](http://en.wikipedia.org/wiki/Diaspora_(software\))
You need to escape the bracket with a backslash \
I think the best approach to this is for someone to add a test case to RedCarpet: https://github.com/tanoku/redcarpet
That's the markdown gem we use. If we can get a test and fix in there, they will maintain it.
On Sat, Nov 5, 2011 at 7:50 PM, benced < [email protected]>wrote:
just recently started browsing here...
[Diaspora](http://en.wikipedia.org/wiki/Diaspora_(software))
You need to escape the bracket with a backslash \
Reply to this email directly or view it on GitHub: https://github.com/diaspora/diaspora/issues/2312#issuecomment-2643101
Update: we've converted to client-side markdown, so we aren't using redcarpet anymore. This now works.