html-minifier icon indicating copy to clipboard operation
html-minifier copied to clipboard

HTML Parser error

Open OmkarAla opened this issue 11 months ago • 2 comments

Error: Parse Error:

  <html lang="en">
    <head>
      <meta charset="UTF-8" />
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      <title>Academic Counseling Chatbot</title>
    </head>
    <body>
      <noscript>You need to enable JavaScript to run this app.</noscript>
      <div id="root"></div>
    </body>
  </html>```
  
  - htmlparser.js:255 HTMLParser.parse
    [chatbot]/[html-minifier-terser]/src/htmlparser.js:255:15
  
  - task_queues:105 process.processTicksAndRejections
    node:internal/process/task_queues:105:5
  
  - htmlminifier.js:1282 async minify
    [chatbot]/[html-minifier-terser]/src/htmlminifier.js:1282:3
  
  - htmlminifier.js:1365 async exports.minify
    [chatbot]/[html-minifier-terser]/src/htmlminifier.js:1365:16

Why is this occuring, even when the html syntax is correct

OmkarAla avatar Mar 18 '25 20:03 OmkarAla

Please share the actual error; the message you have shared only contains a stack trace.

R4356th avatar Apr 06 '25 11:04 R4356th

Dto. Can’t reproduce by checking in the web versions both of HTML Minifier and of HTML Minifier Next.

j9t avatar Sep 27 '25 09:09 j9t