diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-07-06 16:20:30 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-07-06 16:20:30 -0400 |
commit | e395e6f7f7063edd51826e49ba684f7494cf486b (patch) | |
tree | 5d85bf961ce6847c5c1481079aa0544482a64b1a | |
parent | shared_html_lite, db_import, monospace font (codeblock & monospace tag) (diff) |
shared_xml, monospace marker for monospace tag
-rw-r--r-- | lib/sisu/v2/shared_xml.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v2/shared_xml.rb b/lib/sisu/v2/shared_xml.rb index 4d504882..2fcab17e 100644 --- a/lib/sisu/v2/shared_xml.rb +++ b/lib/sisu/v2/shared_xml.rb @@ -357,6 +357,7 @@ module SiSU_XML_munge dob.obj.gsub!(/#{Mx[:fa_insert_o]}(.+?)#{Mx[:fa_insert_c]}/,'<ins>\1</ins>') dob.obj.gsub!(/#{Mx[:fa_cite_o]}(.+?)#{Mx[:fa_cite_c]}/,'<cite>\1</cite>') dob.obj.gsub!(/#{Mx[:fa_strike_o]}(.+?)#{Mx[:fa_strike_c]}/,'<del>\1</del>') + dob.obj.gsub!(/#{Mx[:fa_monospace_o]}(.+?)#{Mx[:fa_monospace_c]}/,'<tt>\1</tt>') dob.obj.gsub!(/<:pb>\s*/,'') #Fix dob.obj.gsub!(/<+[-~]#>+/,'') if dob.is !~/^code/ |