From 87be5594203a38706eb5cd6288e0d188188245a2 Mon Sep 17 00:00:00 2001 From: Murhaf Sousli Date: Wed, 1 Jan 2020 14:10:27 +0300 Subject: [PATCH 1/2] chore: pumps up version --- projects/ngx-highlightjs/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { From 2ff60526b4404218c8a8b3192ab0cdf465deab2a Mon Sep 17 00:00:00 2001 From: Murhaf Sousli Date: Wed, 1 Jan 2020 14:10:34 +0300 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) 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).