closure-library
closure-library copied to clipboard
html sanitizer should not trim whitespace from data-* attributes
Say I sanitize the string '<span data-latex="\ "></span>'. The html sanitizer will trim the whitespace, resulting in invalid latex '<span data-latex="\"></span>'.