optimize decktext algo a bit

This commit is contained in:
Luxferre
2025-12-31 13:48:12 +02:00
parent 4e5cf7728f
commit dca5a85d98
+4
View File
@@ -56,6 +56,10 @@ _render_regex_src = [
('<(li|LI)(\s+[^>]*)?>', '* '),
('<\\/(li|LI)>', '\n'),
('<.+?>', ''),
('&copy;', '(C)'),
('&trade;', '(TM)'),
('&larr;', '<-'),
('&rarr;', '->'),
('&lt;', '<'),
('&gt;', '>'),
('&(ldquo|rdquo|quot);', '"'),