projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6791735
)
* fix trailing string appending in URLIZING for plaintext.
author
Wilfried Göesgens
<willi@citadel.org>
Wed, 31 Dec 2008 14:37:38 +0000
(14:37 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Wed, 31 Dec 2008 14:37:38 +0000
(14:37 +0000)
webcit/html2html.c
patch
|
blob
|
history
diff --git
a/webcit/html2html.c
b/webcit/html2html.c
index e331cda67cc21f04347124d8399c9846b7601cf0..a91239d0a1a2fce03f64bae5b304cadd791b7277 100644
(file)
--- a/
webcit/html2html.c
+++ b/
webcit/html2html.c
@@
-542,7
+542,7
@@
void UrlizeText(StrBuf* Target, StrBuf *Source, StrBuf *WrkBuf)
LB, QU, ChrPtr(WrkBuf), QU, QU, TARGET,
QU, RB, ChrPtr(WrkBuf), LB, RB);
- TrailerLen =
len - (end - start
);
+ TrailerLen =
StrLength(Source) - (end - ChrPtr(Source)
);
if (TrailerLen > 0)
StrBufAppendBufPlain(Target, end, TrailerLen, 0);
}