tpope/vim-surround — pull request #131 by shanesmith (2014-05-31 19:19:03+00:00)
Title: Keep HTML attributes when changing tags

By default keep the HTML attributes of the previous surrounding tag.

Option to remove attributes if the new tag prompt is ended with '>'.

Fixes #95.