Browse Source

Fixed keyword name.

Zerline 6 năm trước cách đây
mục cha
commit
877075b5d3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/rendermime/src/renderers.ts

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

@@ -419,7 +419,7 @@ export function renderSVG(options: renderSVG.IRenderOptions): Promise<void> {
   }
 
   // Add missing SVG namespace (if actually missing)
-  var patt = '<svg[^>]+xmlns=[^>]+svg';
+  let patt = '<svg[^>]+xmlns=[^>]+svg';
   if (source.search(patt) < 0) {
     source = source.replace('<svg', '<svg xmlns="http://www.w3.org/2000/svg"');
   }