filter/source/config/fragments/types/generic_HTML.xcu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit a3925ee114d551567a106161d9e747318ab60c6f Author: Miklos Vajna <[email protected]> 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. (cherry picked from commit 87e7fd163bc587b5c7cbb59ba40a9856f8bb225d) Change-Id: Ifbf9850652d7838582725be391b2fd1a062495e5 Reviewed-on: https://gerrit.libreoffice.org/52709 Tested-by: Jenkins <[email protected]> Reviewed-by: Michael Stahl <[email protected]> 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> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
