From 302417e74655b787344df8ece27e23928dfedb95 Mon Sep 17 00:00:00 2001 From: jburghardt <10438767+jburghardt@users.noreply.github.com> Date: Thu, 10 Oct 2019 11:05:51 +0200 Subject: [PATCH] escape closing tags #165 --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 824a5fe..7f03892 100644 --- a/src/index.js +++ b/src/index.js @@ -6,6 +6,7 @@ const RIGHT = '-->'; const ENCODE = [ ['&', '&'], ['>', '>'], + ['<', '<'], ]; const DATA_KEY = 'hypernova-key';