[Libreoffice-commits] dev-tools.git: prettyprint/prettyprint
Eike Rathke
erack at redhat.com
Thu Sep 7 14:23:12 UTC 2017
prettyprint/prettyprint | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b8f7d000a2cc06ae9a96d31004a56b8a68217975
Author: Eike Rathke <erack at redhat.com>
Date: Thu Sep 7 16:22:30 2017 +0200
Add text/xml as valid mime-type
diff --git a/prettyprint/prettyprint b/prettyprint/prettyprint
index 6cd7ddb..b643d57 100755
--- a/prettyprint/prettyprint
+++ b/prettyprint/prettyprint
@@ -9,7 +9,7 @@ mydir=$(dirname $0)
if [ "$kind" == "text/rtf" ]; then
$mydir/formatrtf $file
-elif [ "$kind" == "application/xml" -o "$kind" == "image/svg+xml" ]; then
+elif [ "$kind" == "application/xml" -o "$kind" == "image/svg+xml" -o "$kind" == "text/xml" ]; then
#xmllint --format --recover $file 2>/dev/null
$mydir/formatxml $file
else
More information about the Libreoffice-commits
mailing list