R-beta: Literal "&" in help index

(Ted Harding) Ted.Harding at nessie.mcc.ac.uk
Mon Jun 15 02:16:06 CEST 1998


Hi Folks,

The file .../lib/R/library/base/html/00Index.html (the contents list of the R
base package help) contains the lines:

<TR><TD width=25%><A HREF="Logic.html">&</A></TD>
<TD>Logical Operators</TD></TR>
<TR><TD width=25%><A HREF="Logic.html">&&</A></TD>
<TD>Logical Operators</TD></TR>

These cause my neat little "kdehelp" browser to segfault when clicking on an
HREF from this file (though netscape seems robust to it). This is because "&"
is an escape for "special characters" in HTML, and the problem is cured if each
"&" is replaced by the HTML escape code for a literal "&", namely "&amp;", so
that the lines become

<TR><TD width=25%><A HREF="Logic.html">&amp;</A></TD>
<TD>Logical Operators</TD></TR>
<TR><TD width=25%><A HREF="Logic.html">&amp;&amp;</A></TD>
<TD>Logical Operators</TD></TR>

For those of you contemplating using something other than netscape, the above
change may be worth noting, in case you encounter the same problem.

It is probably worth "officially" making this change anyway, for the sake of
"pure" HTML.

Best wishes to all,
Ted.


--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Date: 15-Jun-98                                       Time: 01:16:06
--------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list