added hack to pair % in rhtml mode