Improve unformatting with stacked style nodes