Uwazi: URLs with parentesis break markdown links

Created on 21 Nov 2017  路  2Comments  路  Source: huridocs/uwazi

How to reproduce it

Add a filter URL to a link, for example http://localhost:3000/en/library/?q=(order:desc,sort:metadata.date)

[This will break closing on the first parentesis](http://localhost:3000/en/library/?q=(order:desc,sort:metadata.date))

Bug Medium Sprint

All 2 comments

@RafaPolit @danicatalan its a Marked.js issue, https://github.com/chjj/marked/issues/619, its a difficult one explained on that issue, also the maintainer seems that is not active for a long time, https://github.com/chjj/marked/issues/756
i think we should change the library we use for markdown, maybe https://github.com/markdown-it/markdown-it ?

Idea for solution: create custom hook for internal URLs

Was this page helpful?
0 / 5 - 0 ratings