parse5 icon indicating copy to clipboard operation
parse5 copied to clipboard

title element moved from head to body

Open skhilliard opened this issue 5 months ago • 4 comments
trafficstars

For some reason, given html that looks like this to parse...

<html>
  <head>
    <title>Headache, Migraine, Classic</title>
    </head>
  <body dir="ltr">
    <div class="buct82">

The title element gets moved to the body like this...

<html xmlns="http://www.w3.org/1999/xhtml"><head/><body dir="ltr">
  
    <title>Headache, Migraine, Classic</title>
    
  
    <div class="buct82">

skhilliard avatar Jun 04 '25 19:06 skhilliard