From: Sarven Capadisli Date: Sat, 3 Oct 2009 22:06:51 +0000 (+0000) Subject: Using CDATA for autofocus script X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5528c0cd3d66c1acd7bf25b26833e8a107641f35;p=quix0rs-gnu-social.git Using CDATA for autofocus script --- diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index 64be745beb..2ff9380cc1 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -427,16 +427,12 @@ class HTMLOutputter extends XMLOutputter function autofocus($id) { $this->elementStart('script', array('type' => 'text/javascript')); - $this->raw(' - - '); + $this->raw('/**/'); $this->elementEnd('script'); } }