You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2017/03/25 17:07:42 UTC

[jira] [Commented] (DOXIA-538) Tag used for monospaced is not a valid html5 tag

    [ https://issues.apache.org/jira/browse/DOXIA-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941796#comment-15941796 ] 

Hervé Boutemy commented on DOXIA-538:
-------------------------------------

notice {{<pre>}} can't replace {{<tt>}} since it's a block, then adds newline

the question is: do modern browsers not support good'ole HTML 4?

> Tag <tt></tt> used for monospaced is not a valid html5 tag
> ----------------------------------------------------------
>
>                 Key: DOXIA-538
>                 URL: https://issues.apache.org/jira/browse/DOXIA-538
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Core, Module - Xdoc, Module - Xhtml
>    Affects Versions: 1.6
>            Reporter: Ievgen Degtiarenko
>         Attachments: monospaced_for_doxia.patch
>
>
> https://maven.apache.org/doxia/references/apt-format.html
> <<<Monospaced>>> is converted into <tt>Monospaced</tt> that is not valid tag in html5
> Attached patch replaces <tt> tag with <kbd> that is the most common tag that is displayed as monospaced text in modern browsers.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)