Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69b560
)
extras/html/htmlParser: Fixed consecutive <br> resulting in a single line change
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 12 Dec 2015 01:30:30 +0000
(20:30 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 12 Dec 2015 17:17:47 +0000
(12:17 -0500)
- Problem introduced by
7948fd17eea7422d19f60845bc0633fe084bbd67
extras/html/htmlParser.ec
patch
|
blob
|
history
diff --git
a/extras/html/htmlParser.ec
b/extras/html/htmlParser.ec
index
a747877
..
81c0072
100644
(file)
--- 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 = ' ';