Remove text properties from buffer before reparsing.
Fix indentation after annotations.