Subject: sgml-tag "Unclosed tag <blockquote>" wrong

From: Dan Jacobson <[email-masked]>
Date: Sat, 03 May 2025 19:08:17 +0800

$ emacs -Q -nw file.html
Mark the <ol> to </ol> region.
Hit C-c C-o, which runs the command sgml-tag (found in mhtml-mode-map)
Enter tag name "blockquote" at the prompt, attributes: just hit RET.
The blockqute in inserted, yes. But at the same time we get the spurious
'"Unclosed tag" <blockquote>' warning. Here's file.html:
<!DOCTYPE html>
<html>
<head>
 <title>test</title>
</head>
<body>
 <ol>
  <li>
   <p>xyz</p>
  </li>
 </ol>
</body>
</html>

emacs-version "30.1"