Skip to content

Commit

Permalink
Merge pull request #440 from VagelisProkopiou/master
Browse files Browse the repository at this point in the history
"javascript" should be "JavaScript"
  • Loading branch information
RobLoach committed Dec 6, 2017
2 parents fa59a0e + 55d2c9b commit 6ca8711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/twig/kss-assets/prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ window['PR_SHOULD_USE_CONTINUATION'] = true;
* seen in languages that don't support regular expression literals.
*
* <p>Specifically, I've removed any keywords that can't precede a regexp
* literal in a syntactically legal javascript program, and I've removed the
* literal in a syntactically legal JavaScript program, and I've removed the
* "in" keyword since it's not a keyword in many languages, and might be used
* as a count of inches.
*
Expand Down Expand Up @@ -1207,7 +1207,7 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&
['lang-', /^<%([\s\S]+?)(?:%>|$)/],
[PR_PUNCTUATION, /^(?:<[%?]|[%?]>)/],
['lang-', /^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],
// Unescaped content in javascript. (Or possibly vbscript).
// Unescaped content in JavaScript. (Or possibly vbscript).
['lang-js', /^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],
// Contains unescaped stylesheet content
['lang-css', /^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],
Expand Down

0 comments on commit 6ca8711

Please sign in to comment.