mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
fd4aea7bc5
Due to the order we were parsing markdown, bbcode [url] elements were not handled properly. `[url]https://example.com/path[/url]` was not currectly parsing cause linkify was detecting the url as: `https://example.com/path[/url]` which is legit. To resolve this I swapped url to use a replace rule, and instead re-parsed the internal payload and injected the tokens in. This fix is complex cause we support stuff like `[url][b]test.com[/b][/url]` So we need to parse the content inside url `[b]test.com[/b]` |
||
---|---|---|
.. | ||
addon | ||
app | ||
config | ||
engines/discourse-markdown | ||
.npmrc | ||
ember-cli-build.js | ||
index.js | ||
jsconfig.json | ||
package.json |