Better to use text/plain for safari so it can be rendered and then be saved

This commit is contained in:
Jimmy Wärting
2016-06-03 17:08:08 +02:00
parent b2bf6d86f5
commit f1a8bf9fb0
2 changed files with 2 additions and 2 deletions
Regular → Executable
+1 -1
View File
@@ -195,7 +195,7 @@ html_options_form.addEventListener("submit", function(event) {
saveAs(
new BB(
[xml_serializer.serializeToString(doc)]
, {type: "application/xhtml+xml;charset=" + document.characterSet}
, {type: "text/plain;charset=" + document.characterSet}
)
, (html_filename.value || html_filename.placeholder) + ".xhtml"
);