[
http://jira.codehaus.org/browse/DOXIA-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukas Theussl reopened DOXIA-325:
---------------------------------
This is a weird issue and I'm not quite happy with the current solution.
Consider for instance the following comment:
{code:xml}
<!-- workaround for DOXIA-227: (fixed in Doxia 1.1, was 1.0-beta-1) -->
{code}
This gets re-written to
{code:xml}
<!-- workaround for DOXIA -227: (fixed in Doxia 1.1, was 1.0 -beta -1) -->
{code}
However, the original comment is perfectly valid according to
http://validator.w3.org/, so I see no reason to re-write it.
IIUC only double-hyphens and trailing hyphens are illegal inside comments but I
couldn't find any conclusive reference, so not really sure. Given that
uncertainty, I think Doxia shouldn't change any user input at will. I would
prefer either to only change double hyphens (to make w3c happy), or to not
re-write comments at all (and maybe issue a warning). After all it's the user's
responsibility to provide valid input. WDYT?
> Not valid xhtml document if comment with minus character
> --------------------------------------------------------
>
> Key: DOXIA-325
> URL: http://jira.codehaus.org/browse/DOXIA-325
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Xhtml
> Affects Versions: 1.1
> Reporter: Vincent Siveton
> Assignee: Vincent Siveton
> Fix For: 1.1.1
>
>
> if comment has minus character, the rendering is not valid, ie
> {noformat}
> fo ---- fo
> {noformat}
> should be the following to be a valid xhtml rendering
> {noformat}
> fo - - - - fo
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira