From 24ca6b6c497fdd0db41b4dcd4172e20ee02df76e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 24 Oct 2009 05:52:13 +0000 Subject: Added `%U' to -mdoc (doesn't render in a nice way yet). --- mdoc_html.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index d0c2ff7c..29dc8849 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -254,6 +254,7 @@ static const struct htmlmdoc mdocs[MDOC_MAX] = { {mdoc__x_pre, mdoc__x_post}, /* %Q */ {mdoc_sp_pre, NULL}, /* br */ {mdoc_sp_pre, NULL}, /* sp */ + {mdoc__x_pre, mdoc__x_post}, /* %U */ }; @@ -2148,6 +2149,8 @@ mdoc__x_pre(MDOC_ARGS) { struct htmlpair tag; + /* TODO: %U. */ + switch (n->tok) { case(MDOC__A): PAIR_CLASS_INIT(&tag, "ref-auth"); -- cgit