Skip to content

MediaWiki to Texinfo ignores <var> and <samp> tags #11299

@lemzwerg

Description

@lemzwerg

[pandoc 3.8.2.1]

MediaWiki code like

<var>foo</var>
<samp>bar</samp>

gets translated to foo bar, i.e., the tags are ignored. This is incorrect. The tag <var> has a direct correspondence in Texinfo, namely @var. <samp> can be probably translated best as @samp, but @code might be an alternative (I prefer the former, though). BTW, <var> should also work in <code>.

According to https://www.mediawiki.org/wiki/Help:HTML_in_wikitext, both tags are valid in MediaWiki text.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions