diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-02-27 22:28:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-02-27 22:28:13 +0000 |
commit | 62450180320c529d836c4c25672879a7ce53221a (patch) | |
tree | 3fdbb7f175ee373297a18454364bdca524bfebdf /html.c | |
parent | f170f4f7447172beaedf75482b2bfa599cadfb1d (diff) | |
download | mandoc-62450180320c529d836c4c25672879a7ce53221a.tar.gz mandoc-62450180320c529d836c4c25672879a7ce53221a.tar.zst mandoc-62450180320c529d836c4c25672879a7ce53221a.zip |
The HTML standard does not allow self-closing syntax for non-void elements.
Consequently, write an explicit end tag for <mark> elements.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ -/* $Id: html.c,v 1.262 2020/01/19 18:02:00 schwarze Exp $ */ +/* $Id: html.c,v 1.263 2020/02/27 22:28:13 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> - * Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2011-2015, 2017-2020 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -88,7 +88,7 @@ static const struct htmldata htmltags[TAG_MAX] = { {"span", HTML_INPHRASE | HTML_TOPHRASE}, {"var", HTML_INPHRASE | HTML_TOPHRASE}, {"br", HTML_INPHRASE | HTML_NOSTACK | HTML_NLALL}, - {"mark", HTML_INPHRASE | HTML_NOSTACK }, + {"mark", HTML_INPHRASE }, {"math", HTML_INPHRASE | HTML_NLALL | HTML_INDENT}, {"mrow", 0}, {"mi", 0}, |