Sha256: eac8998a8981e099610d4f3ba6c60f8907d17ad04d9ee3d7aa7fdb13bc4f408a
Contents?: true
Size: 401 Bytes
Versions: 21
Compression:
Stored size: 401 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 \“#{text}” - when :single \‘#{text}’ - else =text
Version data entries
21 entries across 21 versions & 1 rubygems