PyCharm - reformat reformatted code

When I have some long line in HTML markup, example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vehicula maximus urna vel tempus. Nulla feugiat aliquet orci in suscipit. Phasellus finibus venenatis sapien non fermentum.
prettyPrint();
then do Reformat Codein PyCharm

it produce something like:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nullam vehicula maximus urna vel tempus. Nulla feugiat
aliquet orci in suscipit. Phasellus finibus venenatis
sapien non fermentum.
prettyPrint();
Great. But! When I do some modification (add tags into text):

Lorem ipsum dolor sit amet, <strong>consectetur adipiscing</strong> elit.
Nullam vehicula maximus urna vel tempus. Nulla feugiat
aliquet orci in suscipit. Phasellus finibus venenatis
sapien non fermentum.
prettyPrint();
And again Reformat Code - it produce ugly breaked code:

Lorem ipsum dolor sit amet, <strong>consectetur
adipiscing</strong> elit.
Nullam vehicula maximus urna vel tempus. Nulla feugiat
aliquet orci in suscipit. Phasellus finibus venenatis
sapien non fermentum.
prettyPrint();
Does PyCharm could unbreak lines and then Reformat Code?

Please sign in to leave a comment.