Different result of cloze deletion on Anki 2.0 and 2.1

As pictures below show, when making cloze deletion in underlined text, the clozed text remains underlined in Anki 2.0 but not so in Anki 2.1.47 (Windows).
In my opinion, the result in 2.0 is more reasonable.


IIRC this broke due to a change in web toolkit, and an attempt to bring back the old behaviour introduced other problems.

Thank you for your prompt reply.
I just made a patch using Range.insertNode to make clozes. Althought I can’t undo that using Ctrl+Z, keeping styles in clozes is more important to me.