mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
correct bbcode parsing edge case
This commit is contained in:
@ -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)) {
|
||||
|
Reference in New Issue
Block a user