mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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
|
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; }");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user