diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-09 12:28:18 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-09 12:28:18 +0100 |
commit | a6a8bb8f2960aeb218a0687d456d662a21ea6616 (patch) | |
tree | 8d465223114bda9233cc1938d37b87ecb6bca731 /lib/sisu/v0/shared_xml.rb | |
parent | Updated sisu-0.60.1 (diff) | |
parent | changelog update (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/shared_xml.rb')
-rw-r--r-- | lib/sisu/v0/shared_xml.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sisu/v0/shared_xml.rb b/lib/sisu/v0/shared_xml.rb index 4b9ccb12..da1891e5 100644 --- a/lib/sisu/v0/shared_xml.rb +++ b/lib/sisu/v0/shared_xml.rb @@ -391,6 +391,9 @@ module SiSU_XML_munge def markup_group(para='') para.gsub!(/</,'<'); para.gsub!(/>/,'>') para.gsub!(/<:?br(?:\s+\/)?>/,'<br />') + para.gsub!(/<(link xmlns:xlink=".+?)">/,'<"\1">') + para.gsub!(/<(\/link)>/,'<\1>') + para.gsub!(/<(\/?en)>/,'<\1>') para end end |