correct bbcode parsing edge case

This commit is contained in:
Sam
2017-07-20 13:02:31 -04:00
parent eb6c5a54ea
commit 1096dcd602
3 changed files with 15 additions and 12 deletions

View File

@ -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)) {