OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e87a63c
)
CollapseWhitespace() was eating a closing tag's < when tags included nothing but...
author
Jochen Tucht
<jtuc@users.sourceforge.net>
Thu, 31 Jan 2008 21:34:05 +0000
(21:34 +0000)
committer
Jochen Tucht
<jtuc@users.sourceforge.net>
Thu, 31 Jan 2008 21:34:05 +0000
(21:34 +0000)
Src/UniMarkdownFile.cpp
patch
|
blob
|
history
diff --git
a/Src/UniMarkdownFile.cpp
b/Src/UniMarkdownFile.cpp
index
28d0889
..
2a921b7
100644
(file)
--- a/
Src/UniMarkdownFile.cpp
+++ b/
Src/UniMarkdownFile.cpp
@@
-51,7
+51,7
@@
static void CollapseWhitespace(CString &line)
line.SetAt(i, ' ');
break;
case '>':
- if (nEatSpace >= 0)
+ if (nEatSpace >= 0
&& line.GetAt(i + 1 + nEatSpace) != '<'
)
++nEatSpace;
default:
if (nEatSpace > 0)