diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-09-26 23:43:31 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-09-26 23:43:31 +0100 |
commit | 3f282d767483807e33d4d1611056a005cdd68ff5 (patch) | |
tree | 16c3b660f24a6317fa49f28a1dc2a7e5468e262e /lib/sisu/v0/xml_dom.rb | |
parent | sisu-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.rb | 2 |
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] |