diff --git a/src/core_plugins/console/public/src/sense_editor/mode/x_json_highlight_rules.js b/src/core_plugins/console/public/src/sense_editor/mode/x_json_highlight_rules.js index 47945827f8128..bddca4f688784 100644 --- a/src/core_plugins/console/public/src/sense_editor/mode/x_json_highlight_rules.js +++ b/src/core_plugins/console/public/src/sense_editor/mode/x_json_highlight_rules.js @@ -7,7 +7,7 @@ var jsonRules = function (root) { rules[root] = [ { token: ["variable", "whitespace", "ace.punctuation.colon", "whitespace", "punctuation.start_triple_quote"], - regex: '("(?:[^"]*_)?script"|"inline")(\\s*?)(:)(\\s*?)(""")', + regex: '("(?:[^"]*_)?script"|"inline"|"source")(\\s*?)(:)(\\s*?)(""")', next: "script-start", merge: false, push: true