fix another encoding bug...🤞

- Closes #564
main
Mike Fix 6 years ago
parent 6a70d35e19
commit a174c26067

@ -144,7 +144,7 @@ class Editor extends React.Component {
if (isPNG) { if (isPNG) {
node.querySelectorAll('span[role="presentation"]').forEach(node => { node.querySelectorAll('span[role="presentation"]').forEach(node => {
if (node.innerText && node.innerText.match(/%\d\S/)) { if (node.innerText && node.innerText.match(/%\S\S/)) {
map.set(node, node.innerText) map.set(node, node.innerText)
node.innerText = encodeURIComponent(node.innerText) node.innerText = encodeURIComponent(node.innerText)
} }

Loading…
Cancel
Save