From: Mischa POSLAWSKY Date: Sat, 7 Feb 2015 06:44:18 +0000 (+0100) Subject: browser: include numbered notes in feature description X-Git-Tag: v1.7~204 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/7ee7a878e0b44cd8306fb0ff35ddbcee216bd7d9?ds=sidebyside browser: include numbered notes in feature description More consistent as earlier browser comments are included in generic notes. --- diff --git a/browser.plp b/browser.plp index 8a5fba8..d8ebf86 100644 --- a/browser.plp +++ b/browser.plp @@ -327,6 +327,11 @@ sub saytitlecol { print '
'; print "

$_

" for formatnotes($row->{description}, $row->{notes} || ()); + if (my %notes = %{ $row->{notes_by_num} }) { + say '

Browser-specific notes:'; + say "
#$_: ", formatnotes($notes{$_}) for sort keys %notes; + say '

'; + } printf 'Resources: %s.', join(', ', map { sprintf '%s', EscapeHTML($_->{url}), $_->{title} } @$_) for grep { @$_ } $row->{links} // ();