Releases: jfcere/ngx-markdown
Releases · jfcere/ngx-markdown
v11.0.0
v10.1.1
v10.1.0
v10.0.0
Update Angular 10
Library has been updated to support Angular 10.
Due to TypeScript 3.9 and TSLib 2.0 the library might not be fully compatible with Angular 9 therefore dependencies have been adjusted accordingly.
It is recommended to use ngx-markdown 9 if you are using Angular 9.
Commits
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()
.