You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Josh Canfield <jo...@thedailytube.com> on 2008/01/11 22:39:41 UTC

T5.0.8: Too much space being removed from rendered file

I was playing around with the 5.0.8 snapshot and it looks like an effort has
been made to compact the html. The problem is that it's a little
over-zealous about the job and spaces between text nodes and elements are
removed.

For example:

Click this <a href="...">Link</a>

becomes

Click this<a href="...">Link</a>

which looks like

Click thisLink

in the browser...

I haven't seen this commented on in the list, has anyone else notice it?

Josh

-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

Re: T5.0.8: Too much space being removed from rendered file

Posted by Sven Homburg <ho...@googlemail.com>.
sorry, wrote nonsense in last message.

the link dont be stripped, but the produced page effect 
is the same:

page is unusable, firefox says: 

Tapestry not found:
Tapestry.onDOMLoaded(function()



Sven Homburg wrote:
> 
> same as here:
> tapestry strips the last "/>" at the end of the link tag
> 
> sample:
> <link href="assets/tapestry/default.css" rel="stylesheet"
> type="text/css"><link href="../../assets/styles/default.css"
> rel="stylesheet" type="text/css"><link
> 
> tapestry throws many exceptions on console, and the rendered page is
> unusable.
> 
> if i switch "tapestry.force-full-uris" to "false", all is fine
> 
> 
> joshcanfield wrote:
>> 
>> I was playing around with the 5.0.8 snapshot and it looks like an effort
>> has
>> been made to compact the html. The problem is that it's a little
>> over-zealous about the job and spaces between text nodes and elements are
>> removed.
>> 
>> For example:
>> 
>> Click this  ... Link 
>> 
>> becomes
>> 
>> Click this ... Link 
>> 
>> which looks like
>> 
>> Click thisLink
>> 
>> in the browser...
>> 
>> I haven't seen this commented on in the list, has anyone else notice it?
>> 
>> Josh
>> 
>> -- 
>> --
>> TheDailyTube.com. Sign up and get the best new videos on the internet
>> delivered fresh to your inbox.
>> 
>> 
> 
> 


-----
best regards
Sven
-- 
View this message in context: http://www.nabble.com/T5.0.8%3A-Too-much-space-being-removed-from-rendered-file-tp14765869p14774393.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5.0.8: Too much space being removed from rendered file

Posted by Sven Homburg <ho...@googlemail.com>.
same as here:
tapestry strips the last "/>" at the end of the link tag

sample:
<link href="assets/tapestry/default.css" rel="stylesheet"
type="text/css"><link href="../../assets/styles/default.css"
rel="stylesheet" type="text/css"><link

tapestry throws many exceptions on console, and the rendered page is
unusable.

if i switch "tapestry.force-full-uris" to "false", all is fine


joshcanfield wrote:
> 
> I was playing around with the 5.0.8 snapshot and it looks like an effort
> has
> been made to compact the html. The problem is that it's a little
> over-zealous about the job and spaces between text nodes and elements are
> removed.
> 
> For example:
> 
> Click this  ... Link 
> 
> becomes
> 
> Click this ... Link 
> 
> which looks like
> 
> Click thisLink
> 
> in the browser...
> 
> I haven't seen this commented on in the list, has anyone else notice it?
> 
> Josh
> 
> -- 
> --
> TheDailyTube.com. Sign up and get the best new videos on the internet
> delivered fresh to your inbox.
> 
> 


-----
best regards
Sven
-- 
View this message in context: http://www.nabble.com/T5.0.8%3A-Too-much-space-being-removed-from-rendered-file-tp14765869p14774167.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5.0.8: Too much space being removed from rendered file

Posted by Daniel Jue <te...@gmail.com>.
Maybe
 \s+ should be replaced \s

Just to be sure.


On Jan 11, 2008 4:39 PM, Josh Canfield <jo...@thedailytube.com> wrote:
> I was playing around with the 5.0.8 snapshot and it looks like an effort has
> been made to compact the html. The problem is that it's a little
> over-zealous about the job and spaces between text nodes and elements are
> removed.
>
> For example:
>
> Click this <a href="...">Link</a>
>
> becomes
>
> Click this<a href="...">Link</a>
>
> which looks like
>
> Click thisLink
>
> in the browser...
>
> I haven't seen this commented on in the list, has anyone else notice it?
>
> Josh
>
> --
> --
> TheDailyTube.com. Sign up and get the best new videos on the internet
> delivered fresh to your inbox.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org