瀏覽代碼

Symbol '>' does not belong to the URL

Guilherme Beltramini 4 年之前
父節點
當前提交
4d78a946f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/rendermime/src/renderers.ts

+ 1 - 1
packages/rendermime/src/renderers.ts

@@ -483,7 +483,7 @@ function autolink(content: string): string {
       controlCodes +
       '"]{2,}[^\\s' +
       controlCodes +
-      '"\')}\\],:;.!?]',
+      '"\')}\\],:;.!?>]',
     'ug'
   );
   return content.replace(webLinkRegex, url => {