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
This is a valid request, but unfortunately I believe this is currently not so easy to implement. One method would be to implement this handling in a dedicated virtual method, which can be overridden.
Would you want this rule to be able to treat non breaking spaces separately? In other words should an element which includes only white space, but of which at least part of the white space are non breaking spaces, also be removed?
sanitizer.Tag("p").RemoveEmpty();
<p> </p>
results in<p> </p>
Could RemoveEmpty() be extended to cover RemoveEmptyOrWhitespace() ??
The text was updated successfully, but these errors were encountered: