Page MenuHomePhabricator

Cannot Create Named Link to URI with Brackets
Open, WishlistPublic

Description

Example Link, which is not interpreted as named link:
[[ http://octopart.com/partsearch#!?q=MT47H128M8CF-3&filter[fields][avg_avail][]=[1%20TO%20*]&start=0&limit=10 | MT47H128M8CF-3 ]]
adding angle brackets around the URI part does not help:
[[ http://octopart.com/partsearch#!?q=MT47H128M8CF-3&filter[fields][avg_avail][]=[1%20TO%20*]&start=0&limit=10 | MT47H128M8CF-3 ]]

Event Timeline

timor raised the priority of this task from to Needs Triage.
timor updated the task description. (Show Details)
timor added a project: Remarkup.
timor added a subscriber: timor.
chad triaged this task as Wishlist priority.Oct 9 2014, 2:14 PM

I had a similiar issue except my ] that caused the link syntax to close was in the text I was telling the link to render (I was auto generating links to template class ref pages and the template type wrappers are [] i.e. Array[Byte]). We got around this by not specifying text in the link syntax and just letting ReMarkUp grab the page title (which had the correct []) instead when rendering the link.

I realize this doesn't really help with your issue, but I thought it may help users with similiar issues coming from T5301: Inline Remarkup escaping like I did.