fix tumblr em/rem problems. closes #1261