Method: IsoDoc::PresentationXMLConvert#source1
- Defined in:
- lib/isodoc/presentation_function/block.rb
#source1(elem) ⇒ Object
173 174 175 176 177 178 |
# File 'lib/isodoc/presentation_function/block.rb', line 173 def source1(elem) while elem&.next_element&.name == "source" elem << "; #{to_xml(elem.next_element.remove.children)}" end elem.children = l10n("[#{@i18n.source}: #{to_xml(elem.children).strip}]") end |