From 65129b3f11d1c088da04dd8ced6501df6881c08a Mon Sep 17 00:00:00 2001 From: adon Date: Mon, 17 Aug 2015 18:12:12 +0800 Subject: [PATCH] fix tag balancing logics - logics simplified - optional tags are ignored during balancing - ignore self-closing solidus, which is required only for foreign elements --- tests/test-vectors.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/test-vectors.js b/tests/test-vectors.js index b511b6a..4f674cc 100644 --- a/tests/test-vectors.js +++ b/tests/test-vectors.js @@ -831,6 +831,16 @@ var generalVectors = [ id: 50, input: "abc