code: def apply_markup(value, arg=None):
      
      if arg is not None:
          return formatter(value, filter_name=arg)
      return formatter(value)
docs: Applies text-to-HTML conversion.
      
      Takes an optional argument to specify the name of a filter to use.