From d884e4b2f4e69ef910edab417b56d92c8ca467f6 Mon Sep 17 00:00:00 2001 From: Noah Trupin Date: Wed, 30 Jan 2019 07:01:01 -0500 Subject: [PATCH] Update compiler.js --- src/compiler.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/compiler.js b/src/compiler.js index accd9e4..7cdcf15 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -13,6 +13,9 @@ function parse(cv) { case "abbr": case "button": case "li": + case "small": + case "b": + case "u": switch(part[2]) { case null: case undefined: @@ -144,15 +147,15 @@ function parse(cv) { return stripEmpty``; break; case "end": - return ``; + return stripEmpty``; break; case "": - return `${part[0]}`; + return stripEmpty`${part[0]}`; break; case undefined: case null: default: - return `${part[0]}`; + return stripEmpty`${part[0]}`; break; } }