marinofaggiana 3 éve
szülő
commit
43b6ac31d5
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      iOSClient/Utility/NCUtility.swift

+ 5 - 0
iOSClient/Utility/NCUtility.swift

@@ -241,11 +241,16 @@ class NCUtility: NSObject {
                 if mimetype == contentType {
                     editor = result.editor
                 }
+                
                 // HARDCODE
                 // https://github.com/nextcloud/text/issues/913
+                
                 if mimetype == "text/markdown" && contentType == "text/x-markdown" {
                     editor = result.editor
                 }
+                if contentType == "text/html" {
+                    editor = result.editor
+                }
             }
             for mimetype in result.optionalMimetypes {
                 if mimetype == contentType {