Fix regexes to be exclusive for 1, 2 and 3 stars

This commit is contained in:
Veronica K. B. Olsen
2020-06-13 00:14:34 +02:00
parent 63656e637f
commit 8adda0c4a9
4 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -121,8 +121,8 @@ class ToHtml(Tokenizer):
self.FMT_B_E : "</strong>",
self.FMT_I_B : "<em>",
self.FMT_I_E : "</em>",
self.FMT_U_B : "<u>",
self.FMT_U_E : "</u>",
self.FMT_S_B : "<strong><em>",
self.FMT_S_E : "</em></strong>",
}
if self.isNovel and self.genMode != self.M_PREVIEW: