class Asciidoctor::Document

def apply_attribute_value_subs value

Returns The String value with substitutions performed

value - The String attribute value on which to perform substitutions

inline passthrough macro, apply header substitutions to the value.
unmodified if no substitutions are specified. If the value is not an
apply the substitutions defined in to the value, or leave the value
If the value is an inline passthrough macro (e.g., pass:[value]),

Internal: Apply substitutions to the attribute value
def apply_attribute_value_subs value
  if AttributeEntryPassMacroRx =~ value
    value = $2
    value = apply_subs value, (resolve_pass_subs $1) if $1
  else
    value = apply_header_subs value
  end
  @max_attribute_value_size ? (limit_bytesize value, @max_attribute_value_size) : value
end