diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-09-03 22:40:23 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-09-03 22:40:23 -0400 |
commit | fc826abef5f83543f2cf00938b6d656e3b2c2821 (patch) | |
tree | c0907f76b1bca04fd62a1c492953db677ab05be7 /lib/sisu/v0/dal.rb | |
parent | xml character encoding adjusted; xml image match; odf issue with '@' symbol i... (diff) |
dal, left and right quotes (single & double) kept; previously converted to ordinary quotes (watch)
Diffstat (limited to 'lib/sisu/v0/dal.rb')
-rw-r--r-- | lib/sisu/v0/dal.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sisu/v0/dal.rb b/lib/sisu/v0/dal.rb index a8bf1cd0..e75309f9 100644 --- a/lib/sisu/v0/dal.rb +++ b/lib/sisu/v0/dal.rb @@ -240,13 +240,9 @@ module SiSU_DAL para.gsub!(/(#{Mx[:en_a_o]})\s*/,'\1 '); para.gsub!(/(~\{\s*)\s+/,'\1 ') para.gsub!(/ \/\//,"#{Mx[:br_line]}") #added 2004w29 para.gsub!(/<br>/,"#{Mx[:br_line]}") #needed by xml, xhtml etc. - #para.gsub!(/<p>/,'<p />') #consider - para.gsub!(/`/,"'") para.gsub!(/\t/,' ') para.gsub!(/\342\200\231/u,"'") #if para =~/’/ #Avoid #‘ ’ #“ ” para.gsub!(/�/u,' ') #watch, replace with char code - para.gsub!(/[“”]/u,'""') - para.gsub!(/[–—]/u,'-') #— – chk para.gsub!(/·/u,'*') para.gsub!(/\\copy(?:right)?\b/,'©') para.gsub!(/\\trademark\b|\\tm\b/,'®') |