From 8dc77ea56875fc03c76945ad5d4ae8961a502c8f Mon Sep 17 00:00:00 2001 From: Nick Tilden Date: Mon, 14 Nov 2016 14:08:39 -0600 Subject: [PATCH] :bug: actual fix to spacing and repeat issue --- lib/form/html.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/form/html.js b/lib/form/html.js index e4026e9..31bbaab 100644 --- a/lib/form/html.js +++ b/lib/form/html.js @@ -116,7 +116,8 @@ const addRequired = (html, input, index) => { // Add required text to label const reLabel = new RegExp(''); - render = render.replace(reLabel, `\srequired to ${required}`); + render = render.replace(reLabel, `\u00a0required to ${required}`); + render += ''; } });