[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#861168: qa.debian.org: msg parameter inserts extra line numbers



Control: retitle -1 [debsources] msg parameter displays extra line numbers when Javascript is disabled
Control: tag -1 confirmed

On Tue, Apr 25, 2017 at 05:57:48PM +0800, Paul Wise wrote:
> Normally the cowsay code header looks like this:
> 
> https://sources.debian.net/src/cowsay/3.03%2Bdfsg2-3/cowsay
> 
> 1   #!/usr/bin/perl
> 2
> 3   ##
> 4   ## Cowsay 3.03
> 5   ##
> 6   ## This file is part of cowsay.  (c) 1999-2000 Tony Monroe.
> 7   ##
> 
> When I add a msg parameter it looks like this:

Like this:

https://sources.debian.net/src/cowsay/3.03%2Bdfsg2-3/cowsay/?msg=4:title:message

> 1   #!/usr/bin/perl
> 2   
> 3   ##
> 4   ## Cowsay 3.03
> 5   
> 6   title
> 7   text
> 8   
> 9   ##
> 10  ## This file is part of cowsay.  (c) 1999-2000 Tony Monroe.
> 11  ##
> 
> I didn't expect that the msg paramer would insert line numbers,
> I would expect these line numbers instead:
> 
> 1   #!/usr/bin/perl
> 2   
> 3   ##
> 4   ## Cowsay 3.03
>     
>     title
>     text
>     
> 5   ##
> 6   ## This file is part of cowsay.  (c) 1999-2000 Tony Monroe.
> 7   ##

When I view that URL, it looks as per your expectations.  After
disabling Javascript, I see that the line numbers aren't adjusted.

Cheers,
James


Reply to: