mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
Use of div for labels causes validation errors. See #8843.
(cherry picked from commit b8206a0832
)
This commit is contained in:
parent
1bef592999
commit
ffd175b99f
@ -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