marinofaggiana 3 лет назад
Родитель
Сommit
43b6ac31d5
1 измененных файлов с 5 добавлено и 0 удалено
  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 {