You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "michael-o (via GitHub)" <gi...@apache.org> on 2023/12/03 20:38:42 UTC

Re: [PR] [DOXIA-699] Add simple failing test case [maven-doxia]

michael-o commented on PR #162:
URL: https://github.com/apache/maven-doxia/pull/162#issuecomment-1837593487

   I believe that our parsing assumptions are wrong. [This](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements?retiredLocale=de) says nothing that we need a `<section>`. Looking at [this](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section) `<h1>` isn't even wrapped in a section. I think that it is not our job to fix/reconcile bad input. Shit in, shit out. I dare to say to drop this: https://github.com/apache/maven-doxia/blob/37173794270ee68894aac0e252dcb87545770952/doxia-core/src/main/java/org/apache/maven/doxia/parser/Xhtml5BaseParser.java#L631-L636


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org