color: support "italic" attribute
[gitweb.git] / color.c
diff --git a/color.c b/color.c
index a22d83584211c0c5d2f57b5ffe48b896eabbf904..b6933a16fe43a6110d04cceb358409a910c5e193 100644 (file)
--- a/color.c
+++ b/color.c
@@ -133,6 +133,7 @@ static int parse_attr(const char *name, size_t len)
 #define ATTR(x, val, neg) { (x), sizeof(x)-1, (val), (neg) }
                ATTR("bold",      1, 22),
                ATTR("dim",       2, 22),
+               ATTR("italic",    3, 23),
                ATTR("ul",        4, 24),
                ATTR("blink",     5, 25),
                ATTR("reverse",   7, 27)