aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/xml.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-10-12 20:30:52 +0100
committerRalph Amissah <ralph@amissah.com>2007-10-12 20:30:52 +0100
commit2e7814c4f9be7867499d4e96b9866714e0710fb2 (patch)
treecb8bd24495e9357f00e3741d5f83d4767da396ac /lib/sisu/v0/xml.rb
parentMerge branch 'upstream' into debian/sid (diff)
parentspecial character exceptions, some fixes, primarily underscore (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/xml.rb')
-rw-r--r--lib/sisu/v0/xml.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v0/xml.rb b/lib/sisu/v0/xml.rb
index d6db3ca7..e739bf59 100644
--- a/lib/sisu/v0/xml.rb
+++ b/lib/sisu/v0/xml.rb
@@ -256,6 +256,7 @@ WOK
def poem_structure(para='',ocn='')
para.gsub!(/<:verse(?:-end)?>/,'')
para=@trans.markup_group(para)
+ #para.gsub!(/\s\s/,'&#160;&#160;')
para.strip!
@@xml[:body] << %{#{@tab*0}<object id="#{ocn}">} << "\n"
@@xml[:body] << %{#{@tab*1}<ocn>#{ocn}</ocn>} << "\n"