diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-12 20:30:33 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-12 20:30:33 +0100 |
commit | 6acc0270d1323cbdfd4a7c89377cdb7604895d63 (patch) | |
tree | 9231eae1a28ca9b0da6558d7adf15c27f7e62b46 /lib/sisu/v0/html_tune.rb | |
parent | xml dom extract footnote from grouped text (diff) |
special character exceptions, some fixes, primarily underscore
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 b98f19d8..82183a02 100644 --- a/lib/sisu/v0/html_tune.rb +++ b/lib/sisu/v0/html_tune.rb @@ -333,7 +333,7 @@ module SiSU_Tune end para.gsub!(/<a href="\.\.\//,%{<a href="#{@vz.url_site}/}) end - else para.gsub!(/_</m,'<'); para.gsub!(/_>/m,'>') #code-block: angle brackets special characters + else para.gsub!(/(?=^|[^}])_</m,'<'); para.gsub!(/(?=^|[^}])_>/m,'>') #code-block: angle brackets special characters end @tuned_file << para end |