On July 29, 2002 at 18:07, "Takashi P.KATOH" wrote:
Maybe this function has a bug:
When you want to clip a string "A<a href="XYZ">BCD</a>" in
4-char length (i.e., clip("A<a href="XYZ">BCD</a>", 4, 1, 1);),
Result of (*1) (*2) (*3)
"A<a " "A" "A" # OK
"hre" "hre" "Ahre" # NG!
The expected result is "ABCD", isn't it?
Yep. The bug is in mhonarc::clip_text which the UTF8 version is
derived from. While fixing the problem, I also noticed a problen
with handling entity references (a more serious problem). I submitted
the entity reference one as a bug: #919.
Since the tag stuff is not being used, I'll just "secretly"
fix it without a formal bug report.
Thanks for the catch,
--ewh
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV