Remove text properties from buffer before reparsing.