summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2024-01-20 18:02:02 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2024-01-20 10:14:48 -0800
commitc2f7f5c63fe223f07033cfc686cb258508970301 (patch)
treef73d24f2c3666c646ef0238e1ceeedbfc6ed447d /src
parent74f4ae25d21c40a8f4dc921b810d04244c0595b4 (diff)
Custom writers: fix handling of common state
The CommonState (`PANDOC_STATE` in Lua) may change between the time that a custom writer script is first loaded and when the writer is run. However, the writer was always using the initial state, which led to problems, e.g. when the mediabag was updated in a filter, as those updates where not visible to the writer. The state is now updated right before the writer function runs. Fixes: #9229
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions