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; } }