aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-07-06 14:49:57 -0400
committerRalph Amissah <ralph@amissah.com>2010-07-06 14:49:57 -0400
commit61f8426e59d35f98ca490ad08d13d8e323b017ff (patch)
treef8d508d99672cfdfe3323bf7b3479271db008032
parenttexpdf, monospace font (codeblock & monospace tag) (diff)
plaintext, remove monospace tag
-rw-r--r--lib/sisu/v2/plaintext.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sisu/v2/plaintext.rb b/lib/sisu/v2/plaintext.rb
index 4acdec93..bc83702b 100644
--- a/lib/sisu/v2/plaintext.rb
+++ b/lib/sisu/v2/plaintext.rb
@@ -298,6 +298,8 @@ WOK
"#{Px[:cite_o]}\\1#{Px[:cite_c]}")
dob.obj.gsub!(/#{Mx[:fa_strike_o]}(.+?)#{Mx[:fa_strike_c]}/,
"#{Px[:strike_o]}\\1#{Px[:strike_c]}")
+ dob.obj.gsub!(/#{Mx[:fa_monospace_o]}(.+?)#{Mx[:fa_monospace_c]}/,
+ "#{Px[:monospace_o]}\\1#{Px[:monospace_c]}")
unless dob.is=='code'
dob.obj.gsub!(/#{Mx[:lnk_o]}(.+?)#{Mx[:lnk_c]}#{Mx[:rel_o]}\S+?#{Mx[:rel_c]}/,'\1')
dob.obj.gsub!(/#{Mx[:url_o]}_(\S+?)#{Mx[:url_c]}/,'\1')