Ténno Seremél on Nostr: html-paragraph from sgml-mode.el inserts closing </p> only if sgml-xml-mode is true, ...
html-paragraph from sgml-mode.el inserts closing </p> only if sgml-xml-mode is true, which it isn’t if you are editing HTML (and not XHTML). I wish it didn’t do that. It’s optional, sure, but it’s also a pain 🤷 Setting sgml-xml-mode to always be t has its own problems. I guess I’m going to override html-paragraph itself then
#lang_en #emacs
Published at
2025-01-13 19:22:16Event JSON
{
"id": "95b62697d3b8adcb4a61ee74e5c9e47e3736d4bf344e87a458458054217651cc",
"pubkey": "d33d442cb0a7782f3296854cab732333f5b52db6c91058696d5bebbad4242a4b",
"created_at": 1736796136,
"kind": 1,
"tags": [
[
"t",
"lang_en"
],
[
"t",
"emacs"
],
[
"emoji",
"blobcatcoffee",
"https://s3.eu-central-1.wasabisys.com/lor-sh/lor-sh/custom_emojis/images/000/092/487/original/c2896430db7edbe2.png"
],
[
"proxy",
"https://lor.sh/users/tennoseremel/statuses/113822671569294705",
"activitypub"
]
],
"content": "html-paragraph from sgml-mode.el inserts closing \u003c/p\u003e only if sgml-xml-mode is true, which it isn’t if you are editing HTML (and not XHTML). I wish it didn’t do that. It’s optional, sure, but it’s also a pain 🤷 Setting sgml-xml-mode to always be t has its own problems. I guess I’m going to override html-paragraph itself then :blobcatcoffee:\n\n#lang_en #emacs",
"sig": "e42f561ca9139fb3c965d21d2455e5adf1abf461a059c6f64c381f317160d977184b08cb0a19b6d1c18c97d79b854f5070df5a59b5e10eeff0ea114863ae97d3"
}