This fixes a bug where if you used the code macro the renderer would create an additional expand macro if the collapse option was set. This led to the code section being collapsiable twice. Co-authored-by: Philipp Reinke <philipp.reinke@scandio.de>