mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
correct bbcode parsing edge case
This commit is contained in:
parent
eb6c5a54ea
commit
1096dcd602
3 changed files with 15 additions and 12 deletions
|
@ -167,7 +167,6 @@ export function setup(helper) {
|
|||
ruler.push('url', {
|
||||
tag: 'url',
|
||||
wrap: function(startToken, endToken, tagInfo, content) {
|
||||
|
||||
const url = (tagInfo.attrs['_default'] || content).trim();
|
||||
|
||||
if (simpleUrlRegex.test(url)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue