[Libreoffice-bugs] [Bug 142466] Export as XHTML should use the .xhtml extension instead of .html

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 8 10:29:38 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142466

--- Comment #5 from stragu <stephane.guillou at member.fsf.org> ---
Created attachment 172700
  --> https://bugs.documentfoundation.org/attachment.cgi?id=172700&action=edit
file extension, output of file command

(In reply to V Stuart Foote from comment #4)

> That clip shows it with an XHTML document type and DTD. The same as I get on
> filter export to *.xhtml on Windows. 
> 
> So what is the saved "extension" for the file, is it .xhtml or .html?
> 
> What MIME type is returned with a 'file' command against the export?

The file extension used is .html, but the MIME returned by the file command
returns the following:

Untitled 1.html: XML 1.0 document, ASCII text, with very long lines

My issue is that I think the file should be named "xxxx.xhtml" instead of
"xxxx.html", to be more specific and more clearly differentiate it from another
HTML export.

Tested with:

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 399a6472f666ae6c3e20b6f8367f9fd089c15605
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64 at 86-TDF, Branch:master, Time:
2021-06-05_17:38:40
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210608/dc127709/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list