[Lxr-dev] [ lxr-Bugs-3204218 ] Empty comment block at beginning of line
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-03-11 16:35:44
|
Bugs item #3204218, was opened at 2011-03-09 15:08 Message generated for change (Settings changed) 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: Open Resolution: Works For Me 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 ---------------------- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3204218&group_id=27350 |