From b2f56c166007a6be2f008d5cbb5d427317ff409b Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 17 Mar 2019 22:42:44 +0100 Subject: [PATCH] Handle underline in text/enriched --- mbox2web | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mbox2web b/mbox2web index ab91e7b..3f6f6c8 100755 --- a/mbox2web +++ b/mbox2web @@ -477,6 +477,10 @@ class TextEnrichedPart: # HTML used to have a "big" element, but that has been removed from HTML5 pre = "" post = "" + elif self.type == "underline": + # HTML5 redefined the meaning of "u", but I'm using it anyway + pre = "" + post = "" else: raise NotImplementedError("Unknown type " + self.type)