aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-06-26 15:05:20 -0400
committerRalph Amissah <ralph@amissah.com>2011-06-26 15:05:23 -0400
commit561b3d6e0c2d6b2275ff6db36911b26aa11a62e8 (patch)
tree8e7ce1c3c72f2a956fd599933a271a8bad7b4441
parentv3: constants, a sisupod & an xml related addition (diff)
v3: plaintext, codeblock keep backslashes
-rw-r--r--data/doc/sisu/CHANGELOG_v32
-rw-r--r--lib/sisu/v3/plaintext.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3
index ca39457b..fd2fd32e 100644
--- a/data/doc/sisu/CHANGELOG_v3
+++ b/data/doc/sisu/CHANGELOG_v3
@@ -36,6 +36,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.13.orig.tar.gz
\curlyclose \lt \gt \slash \backslash \underscore \exclaim
* provide backslash character in code block
+ * plaintext, codeblock keep backslashes
+
* constants, a sisupod & an xml related addition
* ansi screen reporting include document language code
diff --git a/lib/sisu/v3/plaintext.rb b/lib/sisu/v3/plaintext.rb
index cd5e2ea3..b7ad1680 100644
--- a/lib/sisu/v3/plaintext.rb
+++ b/lib/sisu/v3/plaintext.rb
@@ -316,6 +316,7 @@ WOK
dob.obj.gsub!(/#{Mx[:gl_o]}#125#{Mx[:gl_c]}/,'}')
dob.obj.gsub!(/#{Mx[:gl_o]}#126#{Mx[:gl_c]}/,'~')
dob.obj.gsub!(/#{Mx[:gl_o]}#169#{Mx[:gl_c]}/,'©')
+ dob.obj.gsub!(/#{Mx[:gl_o]}#092#{Mx[:gl_c]}/,'\\')
end
if dob.of=='block' # watch
dob.obj.gsub!(/#{Mx[:gl_o]}●#{Mx[:gl_c]}/,"* ")