Closed Ross-Blakeney closed 9 months ago
Hi @Ross-Blakeney,
The header ids are no longer generated "built-in" with marked 9.0, update that is part of ngx-markdown 17.0, but is instead available with a marked extension.
Please refer to this section of the README.md: https://github.com/jfcere/ngx-markdown?tab=readme-ov-file#marked-extensions
Closing but don't hesitate if the answer doesn't resolve your issue.
Recently updated ngx-markdown from v16 to v17 when we also updated to angular v17.
It looks like the header id's are either no longer being generated or the sanitizer is stripping them out. We do disable the angular sanitizer.
Module config
It looks like this is still the correct configuration in order to disable angular sanitizer. Looking at the v17 release notes, I see no indication of what else may have changed.
Disabling the sanitizer at on the markdown element does not have any impact.