From: Jerome St-Louis Date: Sat, 12 Dec 2015 01:30:30 +0000 (-0500) Subject: extras/html/htmlParser: Fixed consecutive
resulting in a single line change X-Git-Tag: 0.44.13~92 X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=126614c65f5d6747169d988e4f0ab8b9c314a38a extras/html/htmlParser: Fixed consecutive
resulting in a single line change - Problem introduced by 7948fd17eea7422d19f60845bc0633fe084bbd67 --- diff --git a/extras/html/htmlParser.ec b/extras/html/htmlParser.ec index a747877..81c0072 100644 --- a/extras/html/htmlParser.ec +++ b/extras/html/htmlParser.ec @@ -437,7 +437,9 @@ class HTMLFile } else if(!strcmpi(keyWord, "br") || (!lastBR && (!strcmpi(keyWord, "div") || !strcmpi(keyWord, "li")))) { - if(!lastBR || (lastCh && lastCh != ' ')) + // Commented this if out as it prevents multiple BR from creating spacing + // This was losing spacing in Documentor. This if was originally added by 7948fd17eea7422d19f60845bc0633fe084bbd67 + //if(!lastBR || (lastCh && lastCh != ' ')) { subBlock = AddBlock(block, BR); lastCh = ' ';