class Asciidoctor::Standoc::FormLabelMacro

Public Instance Methods

process(parent, target, attr) click to toggle source
# File lib/asciidoctor/standoc/macros_form.rb, line 19
def process(parent, target, attr)
  out = Asciidoctor::Inline.new(parent, :quoted, attr["text"]).convert
  %{<label for="#{target}">#{out}</label>}
end