emacs-orgmode
[Top][All Lists]
Advanced

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

Re: ox-html: Bug or feature for export of title and meta information?


From: Jens Lechtenboerger
Subject: Re: ox-html: Bug or feature for export of title and meta information?
Date: Sat, 15 Feb 2020 08:45:22 +0100

On 2020-02-14, at 20:31, Nicolas Goaziou wrote:

> Hello,
>
> Jens Lechtenboerger <address@hidden> writes:
>
>> 1. Export to HTML when the title contains markup, say this one:
>>
>> #+TITLE: This does *not* work
>
> What does not work?
>
>> The HTML title element contains a nested b element, which is
>> invalid as only text is allowed.
>
> Who said that? The above is perfectly valid.

Good morning (over here),

the W3C Markup Validator [1] disagrees with this output from
ox-html (which I reduced to the essential parts):

#+begin_src html
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
<head>
<title>This does <b>not</b> work</title>
</head>
<body><p></p></body></html>
#+end_src

Best wishes
Jens

[1] https://validator.w3.org/#validate_by_input



reply via email to

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