bugfix: Styles not applied correctly in the parser