braft-extensions
Advanced tools
Comparing version
@@ -527,3 +527,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var syntax = node.dataset.lang; | ||
node.innerHTML = node.innerHTML.replace(/<\/code><code(.+?)>/g, '<br/>').replace(/<code(.+?)>/g, '').replace(/<\/code>/g, ''); | ||
node.innerHTML = node.innerHTML.replace(/<\/code><code(.*?)>/g, '<br/>').replace(/<code(.*?)>/g, '').replace(/<\/code>/g, ''); | ||
return syntax ? { | ||
@@ -530,0 +530,0 @@ type: 'code-block', |
{ | ||
"name": "braft-extensions", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Extensions for Braft Editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |