Using editor fulllpost quote button on a post which uses HTML formatting mangles it

I think it’d be best to remove the quote content from the post and cook it separately, keeping track of the current nesting level. That’d also solve quoted polls becoming new, distinct polls…