Note: this ticket does not actually handle the plantuml macro, contrary to its title. Issue CONFLUENCE-453 was created to handle the plantuml macro.