It looks like a bug, I could replicate it.Raise a day care ticket with adobe**Meanwhile, I noticed, if you pass value from dialog as <p>begin<span>middle</span>end</p> ( adding 'p' tags it works fine)As of now you can add p tag unless you get any details from adobe.