Subject: | bug in Text-ParagraphDiff 2.70 |
Date: | Mon, 03 Mar 2008 18:22:28 +0530 |
To: | bug-Text-ParagraphDiff [...] rt.cpan.org |
From: | Shreya Londhe <slondhe [...] ptc.com> |
Hi,
I am using following versions -
perl 5.8.4
SunOS
Text-ParagraphDiff-2.70
This module runs fine with one exception.
When the old text and new text has difference with the last word in
common i.e unchanged, then this module concatenates the old text at the
end of the sentence.
e.g -
$old_text = "old deleted text";
$new_text = "new text";
text_diff() will output as -
'new old text deleted' instead of 'new old deleted text'
Because of this problem, the actual old text gets garbled when new text
is toggled.
It will be really nice if could help me out.
Thanks.