From 5328a945994f66136b209f8e2c717cb969c7f013 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index 74d06cff..5dbad7c2 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.36 2009/10/22 18:55:32 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.37 2009/10/24 05:52:13 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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 v1.2.3-56-ge451