From bfe02e6405898b59eda2dd3d15427a6657c76f3e Mon Sep 17 00:00:00 2001 From: Lars Willighagen Date: Fri, 3 Aug 2018 15:58:26 +0200 Subject: [PATCH] Allow escaped single quotes I'm not completely sure what the side effects are of this, as I can't find any documentation on the matter, but it does solve the problem. Close #4 --- jslistings.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jslistings.sty b/jslistings.sty index 0408c33..3e6f946 100644 --- a/jslistings.sty +++ b/jslistings.sty @@ -41,7 +41,7 @@ sensitive=true, stringstyle=\color{string}\ttfamily, morestring=[b]", - morestring=[d]', + morestring=[b]', morestring=[s][\color{string}\ttfamily]{`}{`}, commentstyle=\color{red}\itshape, morecomment=[l][\color{allcomment}]{//},