diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-07-06 14:49:57 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-07-06 14:49:57 -0400 |
commit | 61f8426e59d35f98ca490ad08d13d8e323b017ff (patch) | |
tree | f8d508d99672cfdfe3323bf7b3479271db008032 | |
parent | texpdf, monospace font (codeblock & monospace tag) (diff) |
plaintext, remove monospace tag
-rw-r--r-- | lib/sisu/v2/plaintext.rb | 2 |
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') |