Description: The Help text for Export as HTML (file://...opt/libreofficedev6.4/help/en-US/text/shared/01/about_meta_tags.html?DbPAR=SHARED#bm_id3154380 on my system) says the following: "To set the properties of the current document, choose File - Properties, click the Description or User Defined tabs, and then type the information you want." However, File->Properties does not have a "User Defined" tab. P.S. What I really want is to know how insert a "viewport" meta tag into the result of Export-to-HTML. See https://developers.google.com/web/fundamentals/design-and-ux/responsive/?hl=en I tried the 'Custom Properties' tab, creating an item with Name=viewport Type=Text and Value=width=device-width, initial-scale=1 but it die not appear in the output when exporting to html. Steps to Reproduce: 1. Help->LibreOffice Help 2. Type "meta" into the search box, then click "META tags" in the GLOBAL search results list which appears immediately 3. Follow the instructions to (try to) define a meta tag Actual Results: You can't because the instructions refer to a non-existent tab. Expected Results: Document how to define a META tag which will end up in the output of export-to-html. Reproducible: Always User Profile Reset: No Additional Info:
Forgot to mention: I was using a writer doc (.odt), trying to get a META tag in the output from export-to-html
I checked that Custom properties are saved into meta tags when SAVING a text document (odt) in html format. For example, with metas (aaa,bbb) and (Ccc,ddd) I get (...) <meta name="changedby" content="Olivier Hallot"/> <meta name="changed" content="2019-12-27T15:40:17.876396188"/> <meta name="Ccc" content="ddd"/> <meta name="aaa" content="bbb"/> <style type="text/css"> (...) When EXPORTING to (x)html, these metatags are absent. The help page https://help.libreoffice.org/6.3/en-US/text/shared/01/about_meta_tags.html?DbPAR=SHARED#bm_id3154380 AKA text/shared/01/about_meta_tags.xhp need to be revisited and updated.
The help page refers to exporting HTML meta tags for command Save As with file type HTML. The "Name=viewport Type=Text and Value=width=device-width, initial-scale=1" meta tag can be inserted in the Custom Properties. XHTML export does not handle custom properties (enhancement?)
> The help page refers to exporting HTML meta tags for command Save As with file type HTML. The linked-to help page unambiguously says it is about "Export" not "Save", so at least this is a documentation bug. Assuming behavior is as intended.
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/5910cbd9619da6f850da070babb75abd6d334806 tdf#127385 Update HTML <meta> export.
Closing, fixed. About the P.S. of comment#0 , please open a specific bug for.