You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, by validating the HTML generated using Nu Html Checker, it generates several warnings and errors:
The source code:
import{component$}from'@builder.io/qwik';exportdefaultcomponent$(()=>{return(<main><h1>Qwik</h1><section><h2>Core features</h2><p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p></section></main>);});
The generated HTML:
<!doctypehtml><htmlq:container="paused"q:version="1.5.2-dev20240418142224"q:render="ssr-dev"q:base="/repl/1lsst7gz46v/build/"q:manifest-hash="vhqpfk"><!--qvq:key=0t_1--><headq:head><titleq:head>Hello Qwik</title></head><body><!--qvq:id=0q:key=Ncbm:0t_0--><mainq:key="4e_0"><h1>Qwik</h1><section><h2>Core features</h2><p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat.
</p></section></main><!--/qv--></body><!--/qv--><scripttype="qwik/json">{"refs":{},"ctx":{},"objs":[],"subs":[]}</script></html>
helabenkhalfallah
changed the title
[馃悶] Validating HTML generated by NU-W3C
[馃悶] Warning and errors when validating the generated HTML by NU-W3C
Apr 29, 2024
helabenkhalfallah
changed the title
[馃悶] Warning and errors when validating the generated HTML by NU-W3C
[馃悶] Warning and errors when validating the generated HTML using NU-W3C
Apr 29, 2024
helabenkhalfallah
changed the title
[馃悶] Warning and errors when validating the generated HTML using NU-W3C
[馃悶] Warning and errors when validating the generated HTML using Nu Html Checker
Apr 29, 2024
Which component is affected?
Qwik Runtime
Describe the bug
Hello, by validating the HTML generated using Nu Html Checker, it generates several warnings and errors:
The source code:
The generated HTML:
The playground link.
The W3C check results:
I can also reproduce the same issues when analyzing the html of some websites using Qwik.
Thank you so much for your help :) :)
Reproduction
https://qwik.dev/examples/introduction/hello-world/#f=7ZbBDoIwDIZfpQ9gNBoTL8aLV68%2BwAIzNmEMhPn8fh0g%2BAAeTLwN1nXr1n5%2FF0mzPxy%2BmTRjqIaPOdztaQiLwfRvxOAikPvudDaQ3Uj4BA4x3y2mm3kscsEQ2Wu6FGBVFWEAegAL%2B1V%2BChMtnIgrtdGusJbEV8okLGWBeE1diLDa200Ax0JLLXMPklXMzoEoZtcmtJBbqPg2ubVce%2FG1BnybEDN48unCStoE3%2BpIS5NKSOofhSI3lpJA24UiDp7NCO2wnbJLbTAW77LcRQ6XA2Crfi1z%2BJTf%2B40%2F7u64me7anvpfnz9Zny8
Steps to reproduce
Copy/paste the generated html in the Nu Html Checker.
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: