@todo If the buttons occur on a new line, we need to fix the div replacement in the regular expression to not consider '--' as a div (comments cause this problem) -->