Subject: sgml-tag inserts newlines

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Wed, 29 Dec 2021 10:06:17 +0800

C-c C-t runs the command sgml-tag (found in mhtml-mode-map)

Problem is that it inserts newlines.

abc with marked region b

  becomes

a<xxx>b</xxx>
c

  instead of

a<xxx>b</xxx>c

emacs -Q, version "27.1"