summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-24 05:52:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-24 05:52:13 +0000
commit24ca6b6c497fdd0db41b4dcd4172e20ee02df76e (patch)
treebebe03b1d2de824ceb91acd5b9459a6a55476df8 /mdoc_html.c
parent1dd07b15a1d771e23ba0d050538a2e13f10239f6 (diff)
downloadmandoc-24ca6b6c497fdd0db41b4dcd4172e20ee02df76e.tar.gz
Added `%U' to -mdoc (doesn't render in a nice way yet).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c3
1 files changed, 3 insertions, 0 deletions
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");