From 855a1196541ade7de47072d66ae4983dec97c109 Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Sat, 16 Aug 2014 10:36:34 +0100 Subject: Fix trailing backslash after complex options --- lexicon_filter.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lexicon_filter.in') diff --git a/lexicon_filter.in b/lexicon_filter.in index 7970fe98..a6d1df44 100644 --- a/lexicon_filter.in +++ b/lexicon_filter.in @@ -414,6 +414,8 @@ s/\n[^\<@][^\\]*\\// s/\n[^\<@][^\\]*// s/^\\// s/\n$//g +s/\\\n/\ +/ } #. # Swap the buffers back. @@ -425,7 +427,7 @@ s/\([^{|] *\)|/\1@redr{|}/g s/&$/@redr{\&}/ s/\([^{&] *\)&[^a-z]/\1@redr{\&}/g s/\([^{<>^] *\)\([0-9]* *[<>^][<>^]*[^@][a-zA-Z0-9._-]*\)/\1@redr{\2}/g -#s/\\}/}\\/g +s/\\}/}\\/g #. # Now we can add in 'unsafe' entities that would be too greedy. # Declared Variables -- cgit v1.2.3