Flattening keywords: Fixed setting flattening message.
Flattening keywords: Fixed setting flattening message.

Update issue 1551
Fixed setting the message about flattening. `elem.text` should not be modified during the start event, only at the end!

Interestingly this bug only failed our tests on IronPython. With other parsers the text apparently was always fully read already at the start. It could have failed also elsewhere so good that it was spotted.

userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3