I think '<%%', and possibly '%%>',  will escape the '%' in rhtml