marinofaggiana 5 年之前
父節點
當前提交
e876d50be1
共有 1 個文件被更改,包括 2 次插入0 次删除
  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
     }