summaryrefslogtreecommitdiff
path: root/src/xhtml.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/xhtml.py')
-rw-r--r--src/xhtml.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xhtml.py b/src/xhtml.py
index 38ec690c..4d93a855 100644
--- a/src/xhtml.py
+++ b/src/xhtml.py
@@ -13,20 +13,19 @@ poezio colors to xhtml code
"""
import re
-import subprocess
import curses
from sleekxmpp.xmlstream import ET
import xml.sax.saxutils
-from xml.etree.ElementTree import ElementTree
-
from sys import version_info
from config import config
import logging
digits = '0123456789' # never trust the modules
+
+# HTML named colors
colors = {
'aliceblue': 231,
'antiquewhite': 231,