aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/xml_dom.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-09-03 22:25:03 -0400
committerRalph Amissah <ralph@amissah.com>2008-09-03 22:36:10 -0400
commit2a738f528cb87793ff7f8312099666af1e21f44c (patch)
treee3d58f4118689a0d353dc04775652c83fc40b65e /lib/sisu/v0/xml_dom.rb
parenthtml segments; sql db field lengths increased (diff)
xml character encoding adjusted; xml image match; odf issue with '@' symbol in url
Diffstat (limited to 'lib/sisu/v0/xml_dom.rb')
-rw-r--r--lib/sisu/v0/xml_dom.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/xml_dom.rb b/lib/sisu/v0/xml_dom.rb
index b2bc0de7..13aed504 100644
--- a/lib/sisu/v0/xml_dom.rb
+++ b/lib/sisu/v0/xml_dom.rb
@@ -349,8 +349,8 @@ WOK
(0..6).each { |x| @cont[x]=@level[x]=false }
(4..6).each { |x| @xml_contents_close[x]='' }
data.each do |para|
- para=@trans.markup(para)
@trans.char_enc.utf8(para) if @sys.locale =~/utf-?8/i #% utf8
+ para=@trans.markup(para)
if para =~/^#{Rx[:meta]}\s*(.+?)$/ # for headers
d_meta=SiSU_text_utils::Header_scan.new(@md,para).meta
if d_meta; xml_head(d_meta)