mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Do not add empty \parskip definition (reported in #12946)
This commit is contained in:
parent
28f81d1be5
commit
9de9ec1e88
@ -2179,7 +2179,7 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
|
||||
if (!psopt.empty())
|
||||
psopt = "[skip=" + psopt + "]";
|
||||
os << "\\usepackage" + psopt + "{parskip}\n";
|
||||
} else {
|
||||
} else if (!psopt.empty()) {
|
||||
os << "\\setlength{\\parskip}{" + psopt + "}\n";
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user