Apply new code style.
Do not remove data-* attributes in nested elements.
Replace substr (not standardized) with substring (standardized).
Replace substring with slice (saves 4 bytes).
Minor code-style fix.
Changelog entry.
Merge branch 't/11011'