aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-09-07 14:07:18 -0400
committerRalph Amissah <ralph@amissah.com>2008-09-07 14:07:18 -0400
commite46264082eaca056dddabf4f1d02732a88a305e8 (patch)
tree9c98d95379bba9d4ea5996ebf7318054b5088d8b /lib
parentcharacter given to represent non-break space in internal code (dal, constants... (diff)
minor unicode for a type of cross
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v0/constants.rb2
-rw-r--r--lib/sisu/v0/shared_xml.rb5
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/sisu/v0/constants.rb b/lib/sisu/v0/constants.rb
index 96878fcf..f352ab7c 100644
--- a/lib/sisu/v0/constants.rb
+++ b/lib/sisu/v0/constants.rb
@@ -170,6 +170,4 @@ check:
'〔 Ѳ1〕','〔 Ѳ2〕','〔 Ѳ3〕','〔 Ѳ4〕','〔 Ѳ5〕','〔Ѳ6〕','〔Ѳ7〕','〔Ѳ8〕','〔Ѳ9〕'
◁▷
-▶this is text or an image◀http://
-
◀this is text or an image▶ http://
diff --git a/lib/sisu/v0/shared_xml.rb b/lib/sisu/v0/shared_xml.rb
index 437f5482..bf59830f 100644
--- a/lib/sisu/v0/shared_xml.rb
+++ b/lib/sisu/v0/shared_xml.rb
@@ -261,7 +261,7 @@ module SiSU_XML_munge
para.gsub!(/∝/u, '&#8733;') # &prop; # &#8733;
para.gsub!(/∞/u, '&#8734;') # &infin; # &#8734;
para.gsub!(/™/u, '&#8482;') # &trade; # &#8482;
- para.gsub!(/✠/u, '&#8224;') # &dagger; # &#8224; incorrect replacement! †
+ para.gsub!(/✠/u, '&#10016;') # &cross; # &#10016;
para.gsub!(/ /u, ' ') # space identify
para.gsub!(/ /u, ' ') # space identify
end
@@ -364,7 +364,8 @@ module SiSU_XML_munge
para.gsub!(/∝/u, '&prop;') # &prop; # &#8733;
para.gsub!(/∞/u, '&infin;') # &infin; # &#8734;
para.gsub!(/™/u, '&trade;') # &trade; # &#8482;
- para.gsub!(/✠/u, '&dagger;') # &dagger; # &#8224; incorrect replacement †
+ para.gsub!(/✠/u, '&#10016;') # &#10016;
+ #para.gsub!(/✠/u, '&dagger;') # &dagger; # &#8224; incorrect replacement †
para.gsub!(/ /u, ' ') # space identify
para.gsub!(/ /u, ' ') # space identify
end