From 3cc62c1fd290927886f55362c22f19c1f98a7172 Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Sat, 16 Aug 2014 10:36:34 +0100 Subject: [PATCH] Fix trailing backslash after complex options --- lexicon_filter.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lexicon_filter.in b/lexicon_filter.in index a1f638a4e..cfacd1bac 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