Skip to content

Commit

Permalink
Better to use text/plain for safari so it can be rendered and then be…
Browse files Browse the repository at this point in the history
… saved
  • Loading branch information
jimmywarting committed Jun 3, 2016
1 parent b2bf6d8 commit f1a8bf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/demo.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
Expand Down
2 changes: 1 addition & 1 deletion demo/demo.min.js
100644 → 100755

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f1a8bf9

Please sign in to comment.