]> git.lyx.org Git - features.git/commitdiff
Fix bug #10154.
authorRichard Heck <rgheck@lyx.org>
Sun, 31 Jul 2016 00:17:31 +0000 (20:17 -0400)
committerRichard Heck <rgheck@lyx.org>
Sun, 31 Jul 2016 00:18:03 +0000 (20:18 -0400)
src/insets/InsetTabular.cpp
status.22x

index 3d3bebd60e30029cceab1d373e808271f6a9e42f..d5ce1c55470346dc342910050947469711bc8b6a 100644 (file)
@@ -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; }");
 }
 
index 7f781d383585b39e56b863a1184610f33eb2fe4e..f81d8aa61f95872b75907385caf7d6f162216196 100644 (file)
@@ -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