Fix note colour in viewer and fix tests

This commit is contained in:
Veronica Berglyd Olsen
2024-04-28 20:08:35 +02:00
parent 17a492444e
commit 22a34be21a
4 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -500,7 +500,7 @@ class ToHtml(Tokenizer):
else:
sSynop = self._localLookup("Short Description")
if self._genMode == self.M_PREVIEW:
return f"<p class='comment'><span class='synopsis'>{sSynop}:</span> {text}</p>\n"
return f"<p class='note'><span class='modifier'>{sSynop}:</span> {text}</p>\n"
else:
return f"<p class='synopsis'><strong>{sSynop}:</strong> {text}</p>\n"