mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix #7720: plain text export of branches should contain only content of the inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39474 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9ac5a7a60a
commit
b19410d232
@ -216,11 +216,8 @@ int InsetBranch::plaintext(odocstream & os,
|
||||
if (!isBranchSelected())
|
||||
return 0;
|
||||
|
||||
os << '[' << buffer().B_("branch") << ' ' << params_.branch << ":\n";
|
||||
InsetText::plaintext(os, runparams);
|
||||
os << "\n]";
|
||||
|
||||
return PLAINTEXT_NEWLINE + 1; // one char on a separate line
|
||||
int len = InsetText::plaintext(os, runparams);
|
||||
return len;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user