@nethru/ui 2.1.38 → 2.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/editor/Editor.js +1 -1
- package/package.json +1 -1
package/base/editor/Editor.js
CHANGED
|
@@ -204,7 +204,7 @@ function makeHighlight() {
|
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
206
|
function makeEslinter(format, eslintRules, onEslintUpdate, customVariables) {
|
|
207
|
-
const regex = /\{\{(
|
|
207
|
+
const regex = /\{\{(.+)\}\}/g;
|
|
208
208
|
if (format === 'javascript') {
|
|
209
209
|
return linter(view => {
|
|
210
210
|
const text = view.state.doc.toString();
|