Yelp

(The Help System)

mal2html.span

Parameters

$node

The source element to output a span for.

$class

An additional string to prepend to the class attribute.

This template outputs an HTML span element for a source element. It creates a class attribute automatically by passing the local name of $node and the $class parameter to html.class.attr. To output the contents of $node, it applies the mode mal2html.inline.content.mode to $node.

This template automatically handles ubiquitous linking if $node contains an xref or href attribute.