diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2014-08-16 10:36:34 +0100 |
---|---|---|
committer | Mark Griffiths <mark@thebespokepixel.com> | 2014-09-03 14:43:26 +0100 |
commit | 855a1196541ade7de47072d66ae4983dec97c109 (patch) | |
tree | 4e3e6b548add3a82961f96953630820885e6b1a1 /lexicon_filter.in | |
parent | cf7a6a6a65f02a6c28a5d197a2c593b23f67824f (diff) |
Fix trailing backslash after complex options
Diffstat (limited to 'lexicon_filter.in')
-rw-r--r-- | lexicon_filter.in | 4 |
1 files changed, 3 insertions, 1 deletions
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 |