I have written a very simple expanding heading macro to be used in place of the regular Expand macro.
This allows us to add the titles to a pages' Table of Contents, while still providing a neat way to keep pages tidy by showing and displaying information with a simple click.
My issue is that the Warning, Tip, Note and Info macros all display themselves differently when used within the rendered body of the user macro.
They work just fine normally.
Inside the body of the rendered user macro however, the body of the note macros themselves are not displayed.
It looks to me like the hierarchy of the HTML responsible for their rendering is being changed, with the inclusion of an extra ::before pseudo-element and the changing in hierarchy of the span used for the macro's content being placed as a CHILD of macro's icon, not a SIBLING as it is normally.
Does anyone have any experience of this?