We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f619e9 + d88609d commit e390dfbCopy full SHA for e390dfb
src/components/BlockEditor/BlockEditor.js
@@ -646,7 +646,7 @@ export class BlockEditor extends React.PureComponent {
646
const textAsBlob = new Blob([this.state.xml], { type: 'text/plain' });
647
const downloadLink = document.createElement('a');
648
downloadLink.download = `${this.props.project.name}-${this.props.project.id}.xml`;
649
- downloadLink.innerHTML = 'Download File';
+ downloadLink.innerText = 'Download File';
650
if (window.webkitURL != null) {
651
// Chrome allows the link to be clicked without actually adding it to the DOM.
652
downloadLink.href = window.webkitURL.createObjectURL(textAsBlob);
0 commit comments