diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-11-03 13:50:29 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-11-03 13:50:29 -0500 |
commit | c662fb09304eb29c9f765af759c69de909c5b112 (patch) | |
tree | 6fc71f97050fdf310a5c896b23fec189029bb3f1 /lib/sisu/v0/html_tune.rb | |
parent | dal and param various changes (some affecting other files) (diff) |
regex match refinement
Diffstat (limited to 'lib/sisu/v0/html_tune.rb')
-rw-r--r-- | lib/sisu/v0/html_tune.rb | 2 |
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,'¢') # ¢ @html.gsub!(/£/u,'£') # £ |