diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py
index 083f0fd9d..d9ba3a11a 100644
--- a/qt/aqt/editor.py
+++ b/qt/aqt/editor.py
@@ -389,8 +389,6 @@ class Editor:
print("ignored late blur")
return
txt = self.mungeHTML(txt)
- # misbehaving apps may include a null byte in the text
- txt = txt.replace("\x00", "")
# reverse the url quoting we added to get images to display
txt = self.mw.col.media.escapeImages(txt, unescape=True)
self.note.fields[ord] = txt
@@ -1202,6 +1200,10 @@ def fontMungeHack(font):
def munge_html(txt, editor):
return "" if txt in ("
", "