\define sv-section-changed-actions()
<$tiddler tiddler=<<data-tiddler>>>
<<logger sv-section-changed-actions check@new-section>>
<$action-setfield $tiddler=<<data-tiddler>> $field=section $value=<<new-section>> />
<$action-setfield $field="prev-section" $value={{{ [enlist{!!sections}allbefore<new-section>last[]] }}} />
<$action-setfield $field="next-section" $value={{{ [enlist{!!sections}allafter<new-section>first[]] }}} />
<$action-listops $field="section-history" $subfilter="[<new-section>]" />
<$tiddler tiddler=<<new-section>>>
<$action-setfield $field="subtitle-buffered" $value={{!!subtitle}} }}}/>
</$tiddler>
</$tiddler>
\end
I’m not sure what you’re getting at, but this line is wrong. Note the 3 curly braces on the end:
<$action-setfield $field="subtitle-buffered" $value={{!!subtitle}} }}}/>
You got it. I won’t tell you how long it took me to spot that <expletive removed>.