diff --git a/src/util/html.js b/src/util/html.js
index 092a0f0..be61121 100644
--- a/src/util/html.js
+++ b/src/util/html.js
@@ -69,6 +69,7 @@ function htmlToMarkdown(str, images = true, embed = true) {
.replace(/<\/li>/gi, "\n")
.replaceAll("\n\n", "\n");
});
+ str = str.replace(/<\/?span(\s*[^>]+)?>/gi, "");
str = str.replace(/<\/?code(\s*[^>]+)?>/gi, "`");
str = str.replace(/<\/?em(\s*[^>]+)?>/gi, "_");
str = str.replace(/<\/?i(\s*[^>]+)?>/gi, "_");