[Lxr-dev] [ lxr-Bugs-3204218 ] Empty comment block at beginning of line
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-03-12 13:11:09
|
Bugs item #3204218, was opened at 2011-03-09 15:08 Message generated for change (Comment added) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3204218&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lang support Group: None >Status: Closed >Resolution: Fixed Priority: 3 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: Empty comment block at beginning of line Initial Comment: With comments spanning multiple lines, an extraneous <span class="comment"></span> is left at the beginning of the line following the comment block. This is caused by the \n of every line being changed to </span>\n<span class="comment">. Though harmless, it is inelegant. It can easily be removed, contributing to transmit less data. Proposed patch: In Lang, sub processcomment !-87 110304 (after line 87, insert:) ! $$frag =~ s#<span class=\"comment\"></span>$## ; #remove excess marking -------------------- end of patch ---------------------- ---------------------------------------------------------------------- >Comment By: Andre-Littoz (ajlittoz) Date: 2011-03-12 14:11 Message: Incorporated fix ---------------------------------------------------------------------- Comment By: Andre-Littoz (ajlittoz) Date: 2011-03-12 14:11 Message: This has now been fixed in CVS. If you can install the new version and check that it solves your problem, then it would be very useful. Thanks for reporting this defect and helping to make LXR better. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3204218&group_id=27350 |