diff --git a/components/prism-lean.js b/components/prism-lean.js index 6c75c03b0..94ef27464 100644 --- a/components/prism-lean.js +++ b/components/prism-lean.js @@ -16,7 +16,6 @@ // OK 'comment': { pattern: /(?:\/--[\s\S]*?-\/)|(?:\/-![\s\S]*?-\/)|(?:\/-[\s\S]*?-\/)|--.*$/m, - greedy: true }, 'keyword': [ @@ -45,7 +44,7 @@ 'string': [ /"[^"]*"/, - /'[^']*'/ + /'[^']'/ ], 'quotation': {