Make sure that all HTML tags in macros are on their own line...
"You can use HTML freely within your RedCloth 4 Textile. HTML tags on a line by themselves will not be mangled. Don’t forget to leave a blank line after any Textile, just like usual."
Additionally, this may cause problems when generating PDF files (invalid HTML is generated).
Working on this.
Closed by 140bce1.