buffer revert, htmlize