aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/html_tune.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-04 14:57:41 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-04 14:57:41 +0100
commitf7a6194ca54ce58a1f8162627513442da3e84bea (patch)
treeb5ba64663e538d2703d1ca5ed70811b02048c180 /lib/sisu/v0/html_tune.rb
parentsisu-0.58.0 + md5s (diff)
code-block exceptions
Diffstat (limited to 'lib/sisu/v0/html_tune.rb')
-rw-r--r--lib/sisu/v0/html_tune.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v0/html_tune.rb b/lib/sisu/v0/html_tune.rb
index 7c829831..639ecd26 100644
--- a/lib/sisu/v0/html_tune.rb
+++ b/lib/sisu/v0/html_tune.rb
@@ -334,6 +334,7 @@ module SiSU_Tune
end
para.gsub!(/<a href="\.\.\//,%{<a href="#{@vz.url_site}/})
end
+ else para.gsub!(/_</m,'&lt;'); para.gsub!(/_>/m,'&gt;') #code-block: angle brackets special characters
end
@tuned_file << para
end