mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Use of div for labels causes validation errors. See #8843.
This commit is contained in:
parent
c2f88695ba
commit
b8206a0832
@ -1506,13 +1506,8 @@ string const & Layout::htmlitemattr() const
|
||||
|
||||
string const & Layout::htmllabeltag() const
|
||||
{
|
||||
if (htmllabeltag_.empty()) {
|
||||
if (labeltype != LABEL_ABOVE &&
|
||||
labeltype != LABEL_CENTERED)
|
||||
if (htmllabeltag_.empty())
|
||||
htmllabeltag_ = "span";
|
||||
else
|
||||
htmllabeltag_ = "div";
|
||||
}
|
||||
return htmllabeltag_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user