Releases: jfcere/ngx-markdown
Releases · jfcere/ngx-markdown
v9.1.1
v9.1.0
v9.0.0
Update Angular 9
Library has been updated to support Angular 9. As per Angular Documentation the new version stays backward compatible with Angular 8.
Dependencies as been updated to support Marked ^0.8.0 which brings a few breaking changes due to some deprecation.
⚠️ Breaking Changes
The following modifications has been done to MarkdownModule
configuration:
- Removed
MarkedOptions.tables
option (now enabled withgfm
) - Removed
MarkedOptions.sanitize
andsanitizer
options (deprecated by marked.js) - Changed
MarkedOptions.smartLists
default value tofalse
(to be inline with marked.js) - Added
sanitize
option to specifySecurityContext
when sanitizing (defaulted toSecurityContext.HTML
)
📘 Please refer to sanitization section of the README.md file regarding the
sanitize
configuration withMarkdownModule.forRoot()
.