emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HTML export meta tag


From: Scott Randby
Subject: HTML export meta tag
Date: Mon, 29 May 2023 14:02:37 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2

Hello,

When I export to HTML using Org 9.6.6, there is a /> closing the meta tag:

<meta name="author" content="Scott Randby" />

This did not happen when I used Org 9.4.6:

<meta name="author" content="Scott Randby">

I wouldn't care about this change, but when I validate the page code 
(https://validator.w3.org/) I get the following: "Info: Trailing slash on void 
elements has no effect and interacts badly with unquoted attribute values."

The documentation I've seen states that the code without the trailing slash is 
the proper code. I request that the org-html--build-meta-entry function in 
ox-html.el be changed to eliminate the trailing slash.

Scott Randby



reply via email to

[Prev in Thread] Current Thread [Next in Thread]