On Tue, 14 Aug 2018, Henrique Andrade wrote:
Em 14 de agosto de 2018, Allin escreveu:
> There are now some further updates for the action of clicking on a
> gfn link at
>
http://ricardo.ecn.wfu.edu/gretl/cgi-bin/gretldata.cgi?opt=SHOW_FUNCS
> in a browser (strictly speaking, only tested in Firefox).
Tested here at my Windows 7 PC using Firefox and Chrome. Everything is
working just fine.
> * All current gfn packages are now processed so they'll show HTML.
>
> * The content is now a bit fuller (sample scripts are shown).
>
> * The presentation style is (in my opinion) is a little better.
>
> Note: right-click and "Save as" is, or should be, unaffected.
Just two simple suggestions:
(1) Put all examples inside code blocks (not just the sample script);
I'd happily do that, but the question is: how do we tell (or rather,
how do we get XSL to distinguish) what's an example as opposed to a
regular line of text? The sample script is easy because it's wrapped
in the tags "<sample-script>" and "</sample-script>", but
other code
fragments that may occur in the help text have no such marking.
(2) I'm not an expert about digital security, but I think
it's better
to mask all e-mail addresses inside the function ("at" instead of
"@")
For sure, yes. But the current version of the XSL file converts "@"
to " at " in author emails.
Allin