Skip to content

Commit

Permalink
Merge pull request #49 from scrivo/feature/9.15.9-support
Browse files Browse the repository at this point in the history
highlight.js 9.15.9 support
  • Loading branch information
allejo authored Aug 9, 2019
2 parents f9aae39 + 0915a74 commit fdc7a51
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 22 deletions.
16 changes: 5 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
language: php
php:
- nightly
- 7.4snapshot
- 7.3
- 7.2
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4

matrix:
fast_finish: true
allow_failures:
# Since PHP 8.0.0-dev is the new nightly, some dependencies don't support
# it in their Composer files
- php: nightly

# Since PHP 7.4 isn't finalized, we'll allow it to fail but it should be here
# for detecting early breaking changes.
- php: 7.4snapshot
include:
- php: 5.5
dist: precise
- php: 5.4
dist: precise

install:
- composer install --no-interaction --no-progress
Expand Down
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ Language and style definitions (copied from the highlight.js project)
Stephan Kountso <[email protected]>
Sylvestre Ledru <[email protected]>
Søren Enevoldsen <[email protected]>
Taif Alimov <[email protected]>
Taisuke Fujimoto <[email protected]>
Taneli Vatanen <[email protected]>
Taras <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion Highlight/languages/autohotkey.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"case_insensitive":true,"aliases":["ahk"],"keywords":{"keyword":"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group","literal":"A|0 true false NOT AND OR","built_in":"ComSpec Clipboard ClipboardAll ErrorLevel"},"contains":[{"className":"built_in","begin":"A_[a-zA-Z0-9]+"},{"begin":"`[\\s\\S]"},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.1"}]},{"className":"comment","begin":";","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"relevance":0},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.3.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0},{"className":"subst","begin":"%(?=[a-zA-Z0-9#_$@])","end":"%","illegal":"[^a-zA-Z0-9#_$@]"},{"className":"built_in","begin":"^\\s*\\w+\\s*,"},{"className":"meta","begin":"^\\s*#w+","end":"$","relevance":0},{"className":"symbol","contains":[{"$ref":"#contains.1"}],"variants":[{"begin":"^[^\\n\";]+::(?!=)"},{"begin":"^[^\\n\";]+:(?!=)","relevance":0}]},{"begin":",\\s*,"}]}
{"case_insensitive":true,"aliases":["ahk"],"keywords":{"keyword":"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group","literal":"true false NOT AND OR","built_in":"ComSpec Clipboard ClipboardAll ErrorLevel"},"contains":[{"begin":"`[\\s\\S]"},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.0"}]},{"className":"comment","begin":";","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"relevance":0},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.2.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0},{"className":"variable","begin":"%[a-zA-Z0-9#_$@]+%"},{"className":"built_in","begin":"^\\s*\\w+\\s*(,|%)"},{"className":"title","variants":[{"begin":"^[^\\n\";]+::(?!=)"},{"begin":"^[^\\n\";]+:(?!=)","relevance":0}]},{"className":"meta","begin":"^\\s*#\\w+","end":"$","relevance":0},{"className":"built_in","begin":"A_[a-zA-Z0-9]+"},{"begin":",\\s*,"}]}
2 changes: 1 addition & 1 deletion Highlight/languages/bash.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"aliases":["sh","zsh"],"lexemes":"\\b-?[a-z\\._]+\\b","keywords":{"keyword":"if then else elif fi for while in do done case esac function","literal":"true false","built_in":"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp","_":"-ne -eq -lt -gt -f -d -e -s -l -a"},"contains":[{"className":"meta","begin":"^#![^\\n]+sh\\s*$","relevance":10},{"className":"function","begin":"\\w[\\w\\d_]*\\s*\\(\\s*\\)\\s*\\{","returnBegin":true,"contains":[{"className":"title","begin":"\\w[\\w\\d_]*","relevance":0}],"relevance":0},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"\"","end":"\"","contains":[{"begin":"\\\\[\\s\\S]","relevance":0},{"className":"variable","variants":[{"begin":"\\$[\\w\\d#@][\\w\\d_]*"},{"begin":"\\$\\{(.*?)}"}]},{"className":"variable","begin":"\\$\\(","end":"\\)","contains":[{"$ref":"#contains.3.contains.0"}]}]},{"className":"string","begin":"'","end":"'"},{"$ref":"#contains.3.contains.1"}]}
{"aliases":["sh","zsh"],"lexemes":"\\b-?[a-z\\._]+\\b","keywords":{"keyword":"if then else elif fi for while in do done case esac function","literal":"true false","built_in":"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp","_":"-ne -eq -lt -gt -f -d -e -s -l -a"},"contains":[{"className":"meta","begin":"^#![^\\n]+sh\\s*$","relevance":10},{"className":"function","begin":"\\w[\\w\\d_]*\\s*\\(\\s*\\)\\s*\\{","returnBegin":true,"contains":[{"className":"title","begin":"\\w[\\w\\d_]*","relevance":0}],"relevance":0},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"\"","end":"\"","contains":[{"begin":"\\\\[\\s\\S]","relevance":0},{"className":"variable","variants":[{"begin":"\\$[\\w\\d#@][\\w\\d_]*"},{"begin":"\\$\\{(.*?)}"}]},{"className":"variable","begin":"\\$\\(","end":"\\)","contains":[{"$ref":"#contains.3.contains.0"}]}]},{"className":"","begin":"\\\\\""},{"className":"string","begin":"'","end":"'"},{"$ref":"#contains.3.contains.1"}]}
2 changes: 1 addition & 1 deletion Highlight/languages/go.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"aliases":["golang"],"keywords":{"keyword":"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune","literal":"true false iota nil","built_in":"append cap close complex copy imag len make new panic print println real recover delete"},"illegal":"</","contains":[{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","variants":[{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"begin":"'","end":"[^\\\\]'"},{"begin":"`","end":"`"}]},{"className":"number","variants":[{"begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)[dflsi]","relevance":1},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0}]},{"begin":":="},{"className":"function","beginKeywords":"func","end":"\\s*\\{","excludeEnd":true,"contains":[{"className":"title","begin":"[a-zA-Z]\\w*","relevance":0},{"className":"params","begin":"\\(","end":"\\)","keywords":{"$ref":"#keywords"},"illegal":"[\"']"}]}]}
{"aliases":["golang"],"keywords":{"keyword":"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune","literal":"true false iota nil","built_in":"append cap close complex copy imag len make new panic print println real recover delete"},"illegal":"</","contains":[{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","variants":[{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"begin":"'","end":"[^\\\\]'"},{"begin":"`","end":"`"}]},{"className":"number","variants":[{"begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)[i]","relevance":1},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0}]},{"begin":":="},{"className":"function","beginKeywords":"func","end":"\\s*\\{","excludeEnd":true,"contains":[{"className":"title","begin":"[a-zA-Z]\\w*","relevance":0},{"className":"params","begin":"\\(","end":"\\)","keywords":{"$ref":"#keywords"},"illegal":"[\"']"}]}]}
2 changes: 1 addition & 1 deletion Highlight/languages/mathematica.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Highlight/languages/rust.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"aliases":["rs"],"keywords":{"keyword":"alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield move default","literal":"true false Some None Ok Err","built_in":"drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!"},"lexemes":"[a-zA-Z]\\w*!?","illegal":"</","contains":[{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":["self",{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"b?\"","end":"\"","illegal":null,"contains":[{"begin":"\\\\[\\s\\S]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0}]},{"className":"string","variants":[{"begin":"r(#*)\"(.|\\n)*?\"\\1(?!#)"},{"begin":"b?'\\\\?(x\\w{2}|u\\w{4}|U\\w{8}|.)'"}]},{"className":"symbol","begin":"'[a-zA-Z_][a-zA-Z0-9_]*"},{"className":"number","variants":[{"begin":"\\b0b([01_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{"begin":"\\b0o([0-7_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{"begin":"\\b0x([A-Fa-f0-9_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{"begin":"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)([ui](8|16|32|64|128|size)|f(32|64))?"}],"relevance":0},{"className":"function","beginKeywords":"fn","end":"(\\(|<)","excludeEnd":true,"contains":[{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0}]},{"className":"meta","begin":"#\\!?\\[","end":"\\]","contains":[{"className":"meta-string","begin":"\"","end":"\""}]},{"className":"class","beginKeywords":"type","end":";","contains":[{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0,"endsParent":true}],"illegal":"\\S"},{"className":"class","beginKeywords":"trait enum struct union","end":"{","contains":[{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0,"endsParent":true}],"illegal":"[\\w\\d]"},{"begin":"[a-zA-Z]\\w*::","keywords":{"built_in":"drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!"}},{"begin":"->"}]}
{"aliases":["rs"],"keywords":{"keyword":"abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield","literal":"true false Some None Ok Err","built_in":"drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!"},"lexemes":"[a-zA-Z]\\w*!?","illegal":"</","contains":[{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":["self",{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"b?\"","end":"\"","illegal":null,"contains":[{"begin":"\\\\[\\s\\S]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0}]},{"className":"string","variants":[{"begin":"r(#*)\"(.|\\n)*?\"\\1(?!#)"},{"begin":"b?'\\\\?(x\\w{2}|u\\w{4}|U\\w{8}|.)'"}]},{"className":"symbol","begin":"'[a-zA-Z_][a-zA-Z0-9_]*"},{"className":"number","variants":[{"begin":"\\b0b([01_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{"begin":"\\b0o([0-7_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{"begin":"\\b0x([A-Fa-f0-9_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{"begin":"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)([ui](8|16|32|64|128|size)|f(32|64))?"}],"relevance":0},{"className":"function","beginKeywords":"fn","end":"(\\(|<)","excludeEnd":true,"contains":[{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0}]},{"className":"meta","begin":"#\\!?\\[","end":"\\]","contains":[{"className":"meta-string","begin":"\"","end":"\""}]},{"className":"class","beginKeywords":"type","end":";","contains":[{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0,"endsParent":true}],"illegal":"\\S"},{"className":"class","beginKeywords":"trait enum struct union","end":"{","contains":[{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0,"endsParent":true}],"illegal":"[\\w\\d]"},{"begin":"[a-zA-Z]\\w*::","keywords":{"built_in":"drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!"}},{"begin":"->"}]}
2 changes: 1 addition & 1 deletion Highlight/languages/stata.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions test/HighlightAutoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public function setUp()
'livescript',
'shell',
'plaintext',
'coffeescript',
'handlebars',
);
}

Expand Down
2 changes: 2 additions & 0 deletions test/detect/bash/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ fi
genApacheConf(){
echo -e "# Host ${HOME_DIR}$1/$2 :"
}

echo '"quoted"' | tr -d \" > text.txt
2 changes: 2 additions & 0 deletions test/markup/bash/escaped-quote.expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<span class="hljs-comment"># Escaped double-quote is not a string</span>
<span class="hljs-built_in">echo</span> <span class="hljs-string">'"quoted"'</span> | tr -d \" &gt; text.txt
2 changes: 2 additions & 0 deletions test/markup/bash/escaped-quote.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Escaped double-quote is not a string
echo '"quoted"' | tr -d \" > text.txt
5 changes: 3 additions & 2 deletions test/markup/go/numbers.expect.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
float_var := <span class="hljs-number">1.0e10f</span>
complex_var := <span class="hljs-number">1.2e5</span>+<span class="hljs-number">2.3i</span>
float_var := <span class="hljs-number">1.0e10</span>
complex_var := <span class="hljs-number">1.2e5</span>+<span class="hljs-number">2.3i</span>
hex_int := <span class="hljs-number">0xcf3e4028ac084aea</span>
5 changes: 3 additions & 2 deletions test/markup/go/numbers.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
float_var := 1.0e10f
complex_var := 1.2e5+2.3i
float_var := 1.0e10
complex_var := 1.2e5+2.3i
hex_int := 0xcf3e4028ac084aea
2 changes: 1 addition & 1 deletion tools/process.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

HLJS_V="9.15.8"
HLJS_V="9.15.9"
DOJO_V="1.13.0"

HLJS_DL="https://api.github.com/repos/highlightjs/highlight.js/tarball/$HLJS_V"
Expand Down

0 comments on commit fdc7a51

Please sign in to comment.