fix: escape HTML in exported data

Merged
DI
4mo ago
+96-10

Backport of #40802