This commit is contained in:
Richard Heck 2016-07-30 20:17:31 -04:00
parent c760707548
commit 0ab8ea6682
2 changed files with 5 additions and 5 deletions

View File

@ -5120,12 +5120,10 @@ docstring InsetTabular::xhtml(XHTMLStream & xs, OutputParams const & rp) const
void InsetTabular::validate(LaTeXFeatures & features) const void InsetTabular::validate(LaTeXFeatures & features) const
{ {
tabular.validate(features); tabular.validate(features);
// FIXME XHTML // This is done with InsetLayout in 2.3dev
// 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.
if (features.runparams().flavor == OutputParams::HTML) if (features.runparams().flavor == OutputParams::HTML)
features.addCSSSnippet( 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; }"); "td { border: 1px solid black; padding: 0.5ex; }");
} }

View File

@ -73,7 +73,9 @@ What's new
* LYXHTML * 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 * TEX2LYX