Sha256: 6e5bb0800afaa4d6f0ee2682355d55ff9eb4bb51dc9287a5472559987b6960fb

Contents?: true

Size: 398 Bytes

Versions: 21

Compression:

Stored size: 398 Bytes

Contents

- if attr? :role
  - text = "<phrase role=\"#{attr :role}\">#@text</phrase>"
- else
  - text = @text
- case @type
- when :emphasis
  emphasis=text
- when :strong
  emphasis role='strong' =text
- when :monospaced
  literal=text
- when :superscript
  superscript=text
- when :subscript
  subscript=text
- when :double
  | &#8220;#{text}&#8221;
- when :single
  | &#8216;#{text}&#8217;
- else
  =text

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hyla-1.0.1 lib/resources/backends/slim/docbook45/inline_quoted.xml.slim