lib/docbookrx/docbook_visitor.rb
# transfer node type constants from Nokogiri
transfer node type constants from Nokogiri
transfer node type constants from Nokogiri
def visit_phrase node
    text = format_text node
    phText = text.shift(1)[0]
    if node.attr 'role'
      append_text %([#{node.attr 'role'}]###{phText}##)
    else
      append_text %(#{phText})
    end
    lines.concat(text) unless text.empty?
    false
  end
def visit_phrase node text = format_text node phText = text . shift ( 1 ) [ 0 ] if node . attr 'role' append_text %([#{node.attr 'role'}]###{phText}##) else append_text %(#{phText}) end lines . concat ( text ) unless text . empty? false end
transfer node type constants from Nokogiri
transfer node type constants from Nokogiri
# FIXME for now, double up the marks to be sure we catch it
node
<not_specific>