aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/xml_dom.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-26 23:43:31 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-26 23:43:31 +0100
commit3f282d767483807e33d4d1611056a005cdd68ff5 (patch)
tree16c3b660f24a6317fa49f28a1dc2a7e5468e262e /lib/sisu/v0/xml_dom.rb
parentsisu-0.60 intruduces separate sisu-doc package, rationale in CHANGELOG (diff)
matches to take account of internal new naming/tagging of "document information" heading 1~meta
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 82d882e0..83b15dc8 100644
--- a/lib/sisu/v0/xml_dom.rb
+++ b/lib/sisu/v0/xml_dom.rb
@@ -338,7 +338,7 @@ WOK
if d_meta; xml_head(d_meta)
end
end
- @rcdc=true if @rcdc==false and (para =~/~metadata/ or para =~/1~\s+Document Information/)
+ @rcdc=true if @rcdc==false and (para =~/~metadata/ or para =~/1~meta\s+Document Information/)
if para !~/(^0~|<ENDNOTES>|<EOF>)/
if para =~/.+?<~\d+;(?:\w|[0-6]:)\d+;\w\d+><#@dp:#@dp>$/
paranum=para[@regx,3]