Fix dangerouslySetInnerHTML

See https://github.com/facebook/react/commit/fad7d58fc9ef8da03acc6f4d1a11a2844f4cd2ce#commitcomment-3455227