Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
16.10.3
-
None
-
Unknown
-
Description
The in-line element <code> is currently ignored when parsing HTML.
It could be converted to a FormatBlock with format MONOSPACE, similar to how it is done for <strong> with BOLD or <em> with ITALIC.
Rendering a MONOSPACE format block in HTML currently results in a
<span class="monospace">...</span>, which does nothing if the class has no CSS style.
Instead it should be rendered as <code>...</code>.
The following should then be identical:
HTML
<code>foobar</code>
XWiki 2.1
##foobar##
Attachments
Issue Links
- is related to
-
MARKDOWN-138 Represent code macros, verbatim and monospace with distinct syntaxes in CommonMark Markdown 1.2
-
- Open
-