From a24b465fc1a389d13f301e43333eb27cbd1c1189 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 12 Apr 2010 19:45:39 +0000 Subject: Fix to auto-closing of LINK tag in -Txhtml (thanks to Daniel Friesel). --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index aa83bc28..0ad84e4f 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.98 2010/04/08 07:05:38 kristaps Exp $ */ +/* $Id: html.c,v 1.99 2010/04/12 19:45:39 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -54,7 +54,7 @@ static const struct htmldata htmltags[TAG_MAX] = { {"h1", 0}, /* TAG_H1 */ {"h2", 0}, /* TAG_H2 */ {"span", 0}, /* TAG_SPAN */ - {"link", HTML_CLRLINE | HTML_NOSTACK}, /* TAG_LINK */ + {"link", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_LINK */ {"br", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_BR */ {"a", 0}, /* TAG_A */ {"table", HTML_CLRLINE}, /* TAG_TABLE */ -- cgit v1.2.3-56-ge451