mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fix bug #10154.
This commit is contained in:
parent
c760707548
commit
0ab8ea6682
@ -5120,12 +5120,10 @@ docstring InsetTabular::xhtml(XHTMLStream & xs, OutputParams const & rp) const
|
||||
void InsetTabular::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
tabular.validate(features);
|
||||
// FIXME XHTML
|
||||
// It'd be better to be able to get this from an InsetLayout, but at present
|
||||
// InsetLayouts do not seem really to work for things that aren't InsetTexts.
|
||||
// This is done with InsetLayout in 2.3dev
|
||||
if (features.runparams().flavor == OutputParams::HTML)
|
||||
features.addCSSSnippet(
|
||||
"table { border: 1px solid black; display: inline-block; }\n"
|
||||
"table { border-collapse: collapse; display: inline-block; }\n"
|
||||
"td { border: 1px solid black; padding: 0.5ex; }");
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,9 @@ What's new
|
||||
|
||||
* LYXHTML
|
||||
|
||||
Fix problem with output of branches (bug 8022).
|
||||
- Fix problem with output of branches (bug 8022).
|
||||
|
||||
- Fix output of table borders (bug 10154).
|
||||
|
||||
|
||||
* TEX2LYX
|
||||
|
Loading…
Reference in New Issue
Block a user