aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/xml_docbook5.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-15 18:41:30 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-15 18:41:30 -0400
commit84fcc4fb34a41303b4e87aec0e486ec5c3864b64 (patch)
tree1277461e0d1cfa591e28e63351851437bb6c89d0 /lib/sisu/v6/xml_docbook5.rb
parentv5 v6: src, sisupod, bring back in line (diff)
v5 v6: docbook, code & other blocks markup
Diffstat (limited to 'lib/sisu/v6/xml_docbook5.rb')
-rw-r--r--lib/sisu/v6/xml_docbook5.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sisu/v6/xml_docbook5.rb b/lib/sisu/v6/xml_docbook5.rb
index b3e9e035..a1854cdb 100644
--- a/lib/sisu/v6/xml_docbook5.rb
+++ b/lib/sisu/v6/xml_docbook5.rb
@@ -163,7 +163,10 @@ module SiSU_XML_Docbook_Book
end
def markup_text(data)
data.each_with_index do |o,i|
- if o.is ==:heading || o.is ==:para || o.is ==:open_close_tags
+ if o.is ==:heading \
+ || o.is ==:para \
+ || o.of ==:block \
+ || o.is ==:open_close_tags
o=@trans.markup_docbook(o) #unless o.obj==nil
end
end