[patch] allow removing output of other macros from included pages
|Reported by:||benoitg||Owned by:||rjollos|
|Severity:||normal||Keywords:||macro processor renderer nesting sanitizing|
This was inspired (and works well with) OdtExportPlugin
This patch implements a named remove_macros parameter. By default the output of the macros PageOutline, TracGuideToc, !TOC, TranslatedPages is removed, just like in OdtExportPlugin.
produces the same behaviour as before the patch.
produces the same behaviour as not passing any remove_macros parameters.
would only remove the output of the PageOutline and TOC macros, and leave the rest alone.