Date: Fri, 6 Jul 2018 02:52:43 -0700 From: Eitan Adler <lists@eitanadler.com> To: docs@freebsd.org Subject: Help needed with entities and headers and such Message-ID: <CAF6rxg=1UasGZ48bVyGvFfVB%2BFa-gFUBR_tRZn2ZC9kJUdXHhQ@mail.gmail.com>
index | next in thread | raw e-mail
Hi all,
I recently tried updating the Javascript involved with google
analytics in r51804. Unfortunately I was either incomplete in my
testing or I had something special in my location environment since
the header is now incorrect. In particular it no longer expands "&"
although replacing them with just "&" errors out. As a result, I reverted
the change, but I'd like to redo it correctly.
The specific problem looked like:
===
if (typeof navigator.doNotTrack !== 'undefined' &&
(navigator.doNotTrack == '1')) {
allow_track = false;
}
if (allow_track && fbsdregex.test(h)) {
===
I'd like some help fixing this.
I am also aware of a similar change in share/xml/freebsd-xhtml-common.xsl where
<xsl:template name="user.head.content">
<script type="text/javascript" src="/layout/js/google.js" />
</xsl:template>
needs to be replaced with the same content I added to header.ent.
Can I please get some help? Thanks!
--
Eitan Adler
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxg=1UasGZ48bVyGvFfVB%2BFa-gFUBR_tRZn2ZC9kJUdXHhQ>
