From 7f20a6c6fb1a0fe8ee4d4758c4add13cec5615e2 Mon Sep 17 00:00:00 2001 From: ragool Date: Mon, 29 Jun 2026 16:48:52 +0200 Subject: [PATCH 1/3] Update version to 1.4.0; enhance atomic tag handling to correctly manage nested tags and improve test coverage for edge cases --- js/htmldiff.js | 57 ++++++++++++++++++++++++++----------- package.json | 2 +- test/html_to_tokens.spec.js | 33 +++++++++++++++++++++ 3 files changed, 74 insertions(+), 18 deletions(-) diff --git a/js/htmldiff.js b/js/htmldiff.js index 7310ba0..c01cf5f 100644 --- a/js/htmldiff.js +++ b/js/htmldiff.js @@ -89,17 +89,30 @@ } /** - * Checks if the current word is the end of an atomic tag (i.e. it has all the characters, - * except for the end bracket of the closing tag, such as '