summaryrefslogtreecommitdiffstatshomepage
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
commit5328a945994f66136b209f8e2c717cb969c7f013 (patch)
tree1a5090976a5d799f17f16ca5437b72dc74f4bcf1 /mdoc_html.c
parent42509ec027333e856b04e0acd2f35922c44b31d2 (diff)
downloadmandoc-5328a945994f66136b209f8e2c717cb969c7f013.tar.gz
mandoc-5328a945994f66136b209f8e2c717cb969c7f013.tar.zst
mandoc-5328a945994f66136b209f8e2c717cb969c7f013.zip
Added `%U' to -mdoc (doesn't render in a nice way yet).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c5
1 files changed, 4 insertions, 1 deletions
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 <kristaps@kth.se>
*
@@ -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");