[Libreoffice-commits] core.git: filter/source

Miklos Vajna vmiklos at collabora.co.uk
Tue Apr 10 08:59:10 UTC 2018


 filter/source/config/fragments/types/generic_HTML.xcu |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 87e7fd163bc587b5c7cbb59ba40a9856f8bb225d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Apr 10 08:57:09 2018 +0200

    tdf#116555 filter: make sure default extension for HTML is not .xhtml
    
    Since by default we don't write XHTML markup in the sw HTML export.
    
    Change-Id: Ifbf9850652d7838582725be391b2fd1a062495e5
    Reviewed-on: https://gerrit.libreoffice.org/52663
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/filter/source/config/fragments/types/generic_HTML.xcu b/filter/source/config/fragments/types/generic_HTML.xcu
index b29ba333aded..92ac87ffbf3e 100644
--- a/filter/source/config/fragments/types/generic_HTML.xcu
+++ b/filter/source/config/fragments/types/generic_HTML.xcu
@@ -18,7 +18,8 @@
     <node oor:name="generic_HTML" oor:op="replace" >
         <prop oor:name="DetectService"><value>com.sun.star.comp.filters.PlainTextFilterDetect</value></prop>
         <prop oor:name="URLPattern"><value>private:factory/swriter/web*</value></prop>
-        <prop oor:name="Extensions"><value>html htm xhtml</value></prop>
+        <!-- the last extension is used when the code wants to know the extension of this type -->
+        <prop oor:name="Extensions"><value>html xhtml htm</value></prop>
         <prop oor:name="MediaType"><value>text/html</value></prop>
         <prop oor:name="Preferred"><value>false</value></prop>
         <prop oor:name="PreferredFilter"><value>HTML</value></prop>


More information about the Libreoffice-commits mailing list