+ if (!runparams.post_macro.empty()) {
+ // Output the stored fragile commands (labels, indices etc.)
+ // that need to be output after the caption.
+ os << runparams.post_macro;
+ runparams.post_macro.clear();
+ }
+ // Backwards compatibility: We always had a linebreak after
+ // the caption (see #8514)
+ os << breakln;