Skip to content

[BUG] So since when is ) part of valid URL? The link markdown code consumes these brackets greedily

MXXIV··4 votes·1,624 views

Greedy match is such regular expression that tries to match as much text as possible. Now if you have a URL link in brackets (I often do this), it will be broken and the second bracket will disappear:

This: (blah [link text](scheme://link.url) ) more text Turns in this: (blah link text ) more text

I used http://www.google.com in the live example and you can see that the link is now broken.

2 Comments

Bluerex1 votes

Do you think the recent changes to this might have also caused the other bug you reported? http://boards.na.leagueoflegends.com/en/c/site-feedback/saYgZpXa-bug-embeded-images-stopped-working

MXXIV1 votes

No, this bug is present for a long while. I just finally took the time to report it. But since these 3 simple issues weren't fixed after fucking year (thank you again for allowing swearing on these forums Riot), maybe the time was wasted.

More from Boards Feedback

More by MXXIV