GNU bug report logs -
#78229
sgml-tag "Unclosed tag <blockquote>" wrong
Previous Next
To reply to this bug, email your comments to 78229 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78229
; Package
emacs
.
(Sat, 03 May 2025 11:09:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 03 May 2025 11:09:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
$ 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"
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78229
; Package
emacs
.
(Sat, 03 May 2025 11:16:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 78229 <at> debbugs.gnu.org (full text, mbox):
> From: Dan Jacobson <jidanni <at> jidanni.org>
> 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:
Isn't <blockquote> supposed toe be closed with </blockquote>?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78229
; Package
emacs
.
(Sat, 03 May 2025 17:01:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 78229 <at> debbugs.gnu.org (full text, mbox):
>>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
EZ> Isn't <blockquote> supposed toe be closed with </blockquote>?
Yes. And the program indeed does the job correctly.
The problem is: but then it should not print the error message.
Because there is no error.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78229
; Package
emacs
.
(Thu, 08 May 2025 11:59:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 78229 <at> debbugs.gnu.org (full text, mbox):
> From: Dan Jacobson <jidanni <at> jidanni.org>
> Cc: 78229 <at> debbugs.gnu.org
> Date: Sun, 04 May 2025 01:00:32 +0800
>
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> EZ> Isn't <blockquote> supposed toe be closed with </blockquote>?
>
> Yes. And the program indeed does the job correctly.
>
> The problem is: but then it should not print the error message.
>
> Because there is no error.
When the message is printed, the matching </blockquote> was not yet
inserted.
So the machinery that inserts the tag should somehow suppress this
message. Patches welcome.
This bug report was last modified 39 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.