Permalink
Browse files

Fix string escaping in geshi template 2.0

  • Loading branch information...
LadyCailin committed Nov 8, 2017
1 parent edf9b94 commit 0ea5ad9625ed0b4fac5ee5ed787e1dc1d8260da4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/resources/syntax-templates/geshi/default.php
@@ -18,7 +18,7 @@
'HARDCHAR' => array("\\"),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array('"', "'"),
'ESCAPE_CHAR' => array('\\'),
'ESCAPE_CHAR' => '\\',
'ESCAPE_REGEXP' => array(
//Simple Single Char Escapes
1 => "#\\\\[nfrtv\$\"\n\\\\]#i",

0 comments on commit 0ea5ad9

Please sign in to comment.