aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/html_tune.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-11-03 18:42:26 -0500
committerRalph Amissah <ralph@amissah.com>2008-11-03 18:42:26 -0500
commit0aa2fb4f87b5b245d4ab5954a3fb8280808a0ade (patch)
tree0bc33e79442d810aff3fb26c4e190bd4ad32b8c4 /lib/sisu/v0/html_tune.rb
parentmanual update of debian/changelog 0.69.4 (diff)
parentchangelog and version updated (diff)
Merge branch 'upstream' into debian/siddebian/0.69.4-1
Diffstat (limited to 'lib/sisu/v0/html_tune.rb')
-rw-r--r--lib/sisu/v0/html_tune.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/html_tune.rb b/lib/sisu/v0/html_tune.rb
index 99f2d7f4..f910da66 100644
--- a/lib/sisu/v0/html_tune.rb
+++ b/lib/sisu/v0/html_tune.rb
@@ -101,7 +101,7 @@ module SiSU_Tune
@html=html
end
def clean
- @html.gsub!(/#{Mx[:gl_o]}(#[0-9]+)#{Mx[:gl_c]}/u,'&\1;')
+ @html.gsub!(/#{Mx[:gl_o]}(#[0-9]{3})#{Mx[:gl_c]}/u,'&\1;')
@html.gsub!(/#{Mx[:gl_o]}#([a-z]{2,4})#{Mx[:gl_c]}/u,'&\1;')
@html.gsub!(/¢/u,'&cent;') # &#162;
@html.gsub!(/£/u,'&pound;') # &#163;