[dd] Fix wrong HTML escaped strings on docs

Fix #1788.
Merge branch 'fix-1788' into live-docs
Merge branch 'live-docs' into dev-master
Merge branch 'dev-master' into dev-3.x
Clarify documentation and logic for Attribute.modifyAttr