before: <foo name=bobby><name>robert

. &ltfoo name=bobby>&ltname&gtrobert</name></foo></p> after: <foo name=bobby><name>robert

.