RTH sanitizes html now, which means it does not mimic the same behavior as dangerouslySetInnerHTML, therefore it should be renamed, as this can possibly cause confusion amongst beginners who are not familiar with dangerouslySetInnerHTML and assume it always sanitizes - which it does not.
Suggestion: <Truncate html="my <i>HTML</i>">
RTH sanitizes html now, which means it does not mimic the same behavior as
dangerouslySetInnerHTML, therefore it should be renamed, as this can possibly cause confusion amongst beginners who are not familiar withdangerouslySetInnerHTMLand assume it always sanitizes - which it does not.Suggestion:
<Truncate html="my <i>HTML</i>">