Replies: 1 comment 3 replies
-
|
It's not possible to help you without a repro. At least share the MDX doc that cause trouble. Also make sure to use an up to date plugin version, see also:
If the lib still produces warning, you should report to them with a clear minimal repro so that they can fix the warnings. Also double check that it's not your own code producing those warnings. Nesting I explain how to troubleshoot these warnings here: #10580 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting HTML minifier warnings with our documentation, but I wanted to check whether I'm experience intended behavior before creating a new issue.
(TL;DR: does the HTML minifier trip up on unclosed but valid
<p>tags?)I installed the docusaurus-openapi-docs plugin to help document our API. When building our site with pages generated by the plugin, I get this warning for every plugin-generated page:
I checked an un-minified documentation build;
<p>tags are only in two locations, and the pages leave them unclosed if they have content, like this example:Could this be tripping up the minifier, and if so, is this behavior intended? I don't see
<p>tags used like this much, but this use of the tag is apparently valid and it does not need to be closed if it precedes certain other elements.Beta Was this translation helpful? Give feedback.
All reactions