Fixed IE7 issue with inline content described in #999.