mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Correctly skip a bottom caption
The getArg() method stops at the first closing brace, whether it matches the opening one or not, so properly parse the caption and then throw it away.
This commit is contained in:
parent
cde5d60fcf
commit
000b7f3f46
@ -3903,7 +3903,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
} else {
|
||||
// We already got the caption at the bottom,
|
||||
// so simply skip it.
|
||||
p.getArg('{', '}');
|
||||
parse_text_snippet(p, FLAG_ITEM, false, context);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user