marinofaggiana 5 years ago
parent
commit
e876d50be1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/RichWorkspace/NCRichWorkspace.swift

+ 2 - 0
iOSClient/RichWorkspace/NCRichWorkspace.swift

@@ -46,6 +46,8 @@ import Foundation
             richWorkspaceHtml = richWorkspaceHtml + "<br>"
         }
         
+        richWorkspaceHtml = "<!DOCTYPE html><html><body>" + richWorkspaceHtml + "</body></html>"
+        
         webView.loadHTMLString(richWorkspaceHtml, baseURL: Bundle.main.bundleURL)
         webView.isUserInteractionEnabled = false
     }