Return-Path: X-Original-To: apmail-httpd-docs-archive@www.apache.org Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB90E9640 for ; Tue, 8 May 2012 14:56:45 +0000 (UTC) Received: (qmail 48312 invoked by uid 500); 8 May 2012 14:56:45 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 48266 invoked by uid 500); 8 May 2012 14:56:45 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 48255 invoked by uid 99); 8 May 2012 14:56:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 14:56:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.160.171.50] (HELO jupiter.hal-nine-zero-zero-zero.net) (217.160.171.50) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 May 2012 14:56:37 +0000 Received: (qmail 18854 invoked from network); 8 May 2012 14:56:17 -0000 Received: from unknown (HELO localhost) (217.160.171.50) by jupiter.hal-nine-zero-zero-zero.net with SMTP; 8 May 2012 14:56:17 -0000 From: =?utf-8?q?Andr=C3=A9_Malo?= To: docs@httpd.apache.org Subject: Re: svn commit: r1335366 - /httpd/httpd/trunk/docs/manual/style/xsl/common.xsl Date: Tue, 8 May 2012 16:56:08 +0200 User-Agent: KMail/1.9.10 References: <20120508073525.3A59123889EC@eris.apache.org> <201205080942.54468.nd@perlig.de> <4FA92F19.1060700@cord.dk> In-Reply-To: <4FA92F19.1060700@cord.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201205081656.08921.nd@perlig.de> On Tuesday 08 May 2012 16:35:05 Daniel Gruno wrote: > On 08-05-2012 09:42, Andr=C3=A9 Malo wrote: > > On Tuesday 08 May 2012 09:35:25 humbedooh@apache.org wrote: > >> URL: http://svn.apache.org/viewvc?rev=3D1335366&view=3Drev > >> Log: > >> Small hack so the XSLT process won't turn
into
, thus > >> messing up the DOM tree. > > > > Suggestion: document.write() the div container. Then it's also better > > HTML without JS. > I'm not sure I quite follow you there. Could you elaborate on this? Currently there's an empty
container in the HTML, which is... w= ell=20 semantic crap ;) Since the comments are only available if JS is enabled (and only then the d= iv=20 container is useful), the suggestion is to create the div from within the=20 javascript. document.write('
<\/div>'); This also solves the
problem, since xslt doesn't prcoess it at all. nd --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org