* Witold Filipczyk [130806 12:00]:
> W dniu 06.08.2013 o 17:12 John Magolske pisze:
> > I just came across this hooks.pl snippet that allows ELinks to
> > display threaded comments on Hacker News nicely indented:
> >
> > sub pre_format_html_hook {
> > my ($url, $html) = (shift, shift);
> > i
W dniu 06.08.2013 o 17:12 John Magolske pisze:
> Hi,
>
> I just came across this hooks.pl snippet that allows ELinks to display
> threaded comments on Hacker News nicely indented:
>
> sub pre_format_html_hook {
> my ($url, $html) = (shift, shift);
> if ($url =~ m|news.ycombinator.com/item\?id
Hi,
I just came across this hooks.pl snippet that allows ELinks to display
threaded comments on Hacker News nicely indented:
sub pre_format_html_hook {
my ($url, $html) = (shift, shift);
if ($url =~ m|news.ycombinator.com/item\?id=|) {
$html =~ s||' 'x($1/10)|eg;
}
return $html;
}
ht