aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexicon_filter.in
diff options
context:
space:
mode:
authorGravatar Mark Griffiths <mark@thebespokepixel.com>2014-08-16 10:36:34 +0100
committerGravatar Mark Griffiths <mark@thebespokepixel.com>2014-09-03 14:43:26 +0100
commit855a1196541ade7de47072d66ae4983dec97c109 (patch)
tree4e3e6b548add3a82961f96953630820885e6b1a1 /lexicon_filter.in
parentcf7a6a6a65f02a6c28a5d197a2c593b23f67824f (diff)
Fix trailing backslash after complex options
Diffstat (limited to 'lexicon_filter.in')
-rw-r--r--lexicon_filter.in4
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{\&amp;}/
s/\([^{&] *\)&[^a-z]/\1@redr{\&amp;}/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