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
I am trying to stop header (h1 etc) tags having id and anchor attributes injected on preview. Using rehypeSanitize in previewOptions strips out a lot of clutter but I can't figure out how to stop them entirely. Many thanks for any insights, and thank you for this useful library.
I am trying to stop header (
h1
etc) tags having id and anchor attributes injected on preview. UsingrehypeSanitize
inpreviewOptions
strips out a lot of clutter but I can't figure out how to stop them entirely. Many thanks for any insights, and thank you for this useful library.I get:
I would like:
The text was updated successfully, but these errors were encountered: