| Module | YARD::Generators::Helpers::HtmlHelper |
| In: |
lib/yard/generators/helpers/html_helper.rb
|
| SimpleMarkupHtml | = | RUBY19 ? RDoc::Markup::ToHtml.new : SM::ToHtml.new |
Don‘t allow — to turn into &8212; element. The chances of this being some —option is far more likely than the typographical meaning.
@todo Refactor into own SimpleMarkup subclass
Formats a list of types from a tag.
@param [Array<String>, FalseClass] typelist
the list of types to be formatted.
@param [Boolean] brackets omits the surrounding
brackets if +brackets+ is set to +false+.
@return [String] the list of types formatted
as [Type1, Type2, ...] with the types linked to their respective descriptions.