-->
-->
Re: [docbook-apps] make.clean.html & <pre>
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.
This list only
All OASIS lists
Help: OASIS Mailing Lists Help | MarkMail Helpdocbook-apps message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [docbook-apps] make.clean.html & <pre>
From: Mark Craig <>
To: "Bob Stayton" <>
Date: Thu, 29 Mar 2012 08:27:24 +0200
Not a solution, but a workaround for Apache servers with mod_pagespeed:
$ cat .htaccess
...
ModPagespeed off
Regards,
Mark
PS For those of us posting HTML output on Apache servers: YMMV, but there appears to be some benefit in having Apache deflate HTML, CSS, JavaScript. (http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/) It seems mod_pagespeed does this, as well as a few other things.
If you leave make.clean.html as per default, then perhaps you don't need to care.
On Mar 29, 2012, at 2:20 AM, Bob Stayton wrote:
> Hi all,
> That change from <pre> to <div> was made while trying to fix a different bug:
>
> http://sourceforge.net/tracker/?func=detail&aid=2844927&group_id=21935&atid=373747
>
> The problem was that images for callout bugs are not valid inside a <pre>. Other solutions?
>
> Bob Stayton
> Sagehill Enterprises
>
>
>
> ----- Original Message ----- From: "Mark Craig" <>
> To: "Jirka Kosek" <>
> Cc: <>
> Sent: Wednesday, March 28, 2012 6:49 AM
> Subject: Re: [docbook-apps] make.clean.html & <pre>
>
>
> Thank you, Jirka, for your reply.
>
> I have filed 3512384: "Wrap verbatim w/ <pre> when make.clean.html=1" to track this.
>
> Regards,
> Mark
>
> On Mar 28, 2012, at 3:02 PM, Jirka Kosek wrote:
>
>> On 28.3.2012 14:30, Mark Craig wrote:
>>
>>> Is there already an RFE for wrapping pre-formatted content with <pre>?
>>> Perhaps a quick workaround for the customization layer?
>>
>> Hmm, definitively <pre> should be output always for verbatim elements,
>> styled div is clearly markup abuse.
>>
>> I don't see this tracked, so please fill bug report if you can. Thanks.
>>
>> Jirka
>>
>> --
>> ------------------------------------------------------------------
>> Jirka Kosek e-mail: http://xmlguru.cz
>> ------------------------------------------------------------------
>> Professional XML consulting and training services
>> DocBook customization, custom XSLT/XSL-FO document processing
>> ------------------------------------------------------------------
>> OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
>> ------------------------------------------------------------------
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>
>