From 9e9e0b70fa77016c5cde44fd652a4138d1908ed5 Mon Sep 17 00:00:00 2001 From: guseyn Date: Wed, 23 Apr 2025 23:55:20 +0400 Subject: [PATCH 1/3] fix hljs error --- importmap.json | 2 +- src/third-party/he.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/importmap.json b/importmap.json index 134c633..e15f200 100644 --- a/importmap.json +++ b/importmap.json @@ -45,7 +45,7 @@ "ehtml/actions/updateAttributeOf": "/js/ehtml/actions/updateAttributeOf.js", "ehtml/actions/exports": "/js/ehtml/actions/exports.js", - "ehtml/third-party/katex/auto-render": "/js/ehtml/third-party/katex/auto-render.js", + "ehtml/third-party/katex/auto-render": "/js/ehtml/third-party/katex/auto-render.js", "ehtml/third-party/katex/katex": "/js/ehtml/third-party/katex/katex.min.js", "ehtml/third-party/showdown-katex/showdown-katex": "/js/ehtml/third-party/showdown-katex/showdown-katex.js", "ehtml/third-party/showdown-katex/asciimath-to-tex": "/js/ehtml/third-party/showdown-katex/asciimath-to-tex.min.js", diff --git a/src/third-party/he.js b/src/third-party/he.js index b54669b..bc474e2 100644 --- a/src/third-party/he.js +++ b/src/third-party/he.js @@ -76,7 +76,7 @@ const merge = function(options, defaults) { // Modified version of `ucs2encode`; see https://mths.be/punycode. const codePointToSymbol = function(codePoint, strict) { - const output = '' + let output = '' if ((codePoint >= 0xD800 && codePoint <= 0xDFFF) || codePoint > 0x10FFFF) { // See issue #4: // “Otherwise, if the number is in the range 0xD800 to 0xDFFF or is From 2e166c83197514ba966c1588ee594cc1e12958f0 Mon Sep 17 00:00:00 2001 From: guseyn Date: Wed, 23 Apr 2025 23:55:32 +0400 Subject: [PATCH 2/3] update version in package.json to 2.0.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a8ddb80..bd65649 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ehtml", - "version": "2.0.1", + "version": "2.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ehtml", - "version": "2.0.1", + "version": "2.0.2", "license": "MIT", "devDependencies": { "axios": "^1.6.2", diff --git a/package.json b/package.json index 03cb9bd..aaf1ed3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ehtml", - "version": "2.0.1", + "version": "2.0.2", "description": "HTML Framework that allows you write no JavaScript code at all.", "main": "index.js", "scripts": { From 3279c31660a67330f97774db9ba80f614751f4a8 Mon Sep 17 00:00:00 2001 From: guseyn Date: Wed, 23 Apr 2025 23:55:32 +0400 Subject: [PATCH 3/3] 2.0.2 --- CHANGELOG.md | 7 +++++-- README.md | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db8c177..1e6a9fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ -# Release 2.0.1 +# Release 2.0.2 -869d1e3 update version in package.json to 2.0.1 (guseyn, Wed Apr 23 23:36:03 2025 +0400) +2e166c8 update version in package.json to 2.0.2 (guseyn, Wed Apr 23 23:55:32 2025 +0400) +9e9e0b7 fix hljs error (guseyn, Wed Apr 23 23:55:20 2025 +0400) +5fada46 2.0.1 (guseyn, Wed Apr 23 23:36:03 2025 +0400) +3906135 update version in package.json to 2.0.1 (guseyn, Wed Apr 23 23:36:03 2025 +0400) 66d24be improve one more (guseyn, Wed Apr 23 23:09:28 2025 +0400) 54b3892 improve one more (guseyn, Wed Apr 23 23:08:49 2025 +0400) abd76d2 improve code (guseyn, Wed Apr 23 23:07:23 2025 +0400) diff --git a/README.md b/README.md index 152ce7b..f2edb2f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -**v2.0.1** +**v2.0.2** [![EHTML CI](https://github.com/Guseyn/EHTML/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/Guseyn/EHTML/actions/workflows/ci.yml)