You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, note that other HTML5 inline formatting elements (such as b, i, s, u, sup, sub, ins, del, strong, code, small and em) are not affected by this "bug".
Thanks for your help.
The text was updated successfully, but these errors were encountered:
Hi,
<span>
elements get removed by the sanitizer even when they are allowed by the policy.For instance I'd expect the following code :
to return
<span>Hi!</span>
instead ofHi!
.The exact same behaviour can be observed with a custom policy :
returns
Hi!
instead of<span>Hi!</span>
.Also, note that other HTML5 inline formatting elements (such as
b
,i
,s
,u
,sup
,sub
,ins
,del
,strong
,code
,small
andem
) are not affected by this "bug".Thanks for your help.
The text was updated successfully, but these errors were encountered: