diff --git a/CHANGELOG.md b/CHANGELOG.md index b32bf81..4e14652 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 4.0.2 + +- fix: use `element.textContent` to set the code before highlighting, closes [#105](https://github.com/MurhafSousli/ngx-highlightjs/issues/105) in [34afad7](https://github.com/MurhafSousli/ngx-highlightjs/commit/34afad7db4d0945e2f0022fcdf17b3fb87f01c69). + ## 4.0.1 - fix: Change `r` property name to `relevance` in `HighlightResult` interface, closes [#84](https://github.com/MurhafSousli/ngx-highlightjs/issues/84) in [ce53661](https://github.com/MurhafSousli/ngx-highlightjs/commit/ce536614179a97dbd26a35bd40dd5226f8d6a408). diff --git a/projects/ngx-highlightjs/package.json b/projects/ngx-highlightjs/package.json index 9b1dbee..c8a9c5c 100644 --- a/projects/ngx-highlightjs/package.json +++ b/projects/ngx-highlightjs/package.json @@ -1,6 +1,6 @@ { "name": "ngx-highlightjs", - "version": "4.0.1", + "version": "4.0.2", "description": "Instant code highlighting, auto-detect language, super easy to use.", "homepage": "http://github.com/murhafsousli/ngx-highlightjs", "author": {