Bug ID: 107949
           Summary: Export to xhtml document always has title of "- no
                    title specified"
           Product: LibreOffice
           Version: release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer

In the header.xsl file there is the following:
                <!-- title of document for browser frame title -->
                <xsl:element name="title">
                <xsl:attribute name="xml:lang">
                        <xsl:value-of select="$lang" />

select="$globalData/meta-file/*/office:meta/dc:title" />
                                <!-- providing the mandatory title is a
workaround for an IE bug-->
                                        <xsl:text>- no title

On Linux Mint 17 Libreoffice running with Language English UK any document
exported as xhtml whether it has a Title in the document or not always ends up
with the .html document having
<title xml:lang="en-US">- no title specified</title>
Whilst this can be edited, it's an annoyance.
Even if the actual title cannot be extracted from the document for some reason
the default should at the very least be the filename of the document i.e.
"mydocument.html" not "- no title specified"

Steps to Reproduce:
1.Export a .odf document as xhtml

Actual Results:  
<title xml:lang="en-US">- no title specified</title>

Expected Results:
<title xml:lang="en-US">Bandwidth on Linux</title>
Using the actual title in the document
<title xml:lang="en-US">bandwidth.html</title>
Using the name of the file

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/58.0.3029.81 Safari/537.36 OPR/45.0.2552.812

You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list

Reply via email to