XML escaping problem in WWN 264

2005-03-08 Thread Francois Gouget
In WWN 264 there's the following:
lt;rantgt;
...
lt;/rantgt;
But it does not get through in the HTML page because it's getting 
transformed into rant.../rant which the browser is correctly 
ignoring. We've had this problem before but I don't remember what the 
fix is... Do you?

--
Francois Gouget [EMAIL PROTECTED]http://fgouget.free.fr/
 We are Pentium of Borg. You will be approximated. Division is futile.


Re: XML escaping problem in WWN 264

2005-03-08 Thread Shachar Shemesh
Francois Gouget wrote:
In WWN 264 there's the following:
lt;rantgt;
...
lt;/rantgt;
But it does not get through in the HTML page because it's getting 
transformed into rant.../rant which the browser is correctly 
ignoring. We've had this problem before but I don't remember what the 
fix is... Do you?


You probably need to turn the  into amp;, so you would get:
amp;lt;rantamp;gt;
Then again, it is probably right to do it in the XML -HTML converter, 
and not in the XML itself. I.e. - the XML-HTML converter needs to 
transform an inline  into lt; again.

 Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.html



Re: XML escaping problem in WWN 264

2005-03-08 Thread Brian Vincent
On Tue, 8 Mar 2005 10:38:22 +, Paul Millar
[EMAIL PROTECTED] wrote:
 Would it not be just amp;lt;rantamp;gt; ?
 
 XML - HTML renders this to lt;rantgt;, which the browser will render as
 rant.

No.. that didn't work.  Good tip though.

Newman - any ideas?  Maybe lt;nbsp;rantnbsp;gt;?  I think that
would be acceptable if it worked.

While we're on the the HTML topic, anyone want to take a quick stab at
updating the stylesheet to properly render DLDTDD tags within
quotes?  Looks like we just need some indenting.  Example:
http://www.winehq.com/?issue=264#Wine%20Status

-Brian



Re: XML escaping problem in WWN 264

2005-03-08 Thread Paul Millar
Would it not be just amp;lt;rantamp;gt; ?

XML - HTML renders this to lt;rantgt;, which the browser will render as 
rant.

HTH,

Paul.

On Tuesday 08 Mar 2005 10:26, Francois Gouget wrote:
 In WWN 264 there's the following:

 lt;rantgt;
 ...
 lt;/rantgt;

 But it does not get through in the HTML page because it's getting
 transformed into rant.../rant which the browser is correctly
 ignoring. We've had this problem before but I don't remember what the
 fix is... Do you?



pgp7w9GdTKgxu.pgp
Description: PGP signature


Re: XML escaping problem in WWN 264

2005-03-08 Thread Jeremy Newman
On Tue, 2005-03-08 at 08:43 -0700, Brian Vincent wrote:
 On Tue, 8 Mar 2005 10:38:22 +, Paul Millar
 [EMAIL PROTECTED] wrote:
  Would it not be just amp;lt;rantamp;gt; ?
  
  XML - HTML renders this to lt;rantgt;, which the browser will render as
  rant.
 
 No.. that didn't work.  Good tip though.
 
 Newman - any ideas?  Maybe lt;nbsp;rantnbsp;gt;?  I think that
 would be acceptable if it worked.

amp;lt;rantamp;gt; is the correct way to get through the parser. I
have added some code to the parser that will pass through unknown html
tags as plain text. In other words rant should get converted to
lt;rantgt; automatically. The downside is that in this case the tags
need to be properly nested in other tags. Otherwise, use the longer
form.

 While we're on the the HTML topic, anyone want to take a quick stab at
 updating the stylesheet to properly render DLDTDD tags within
 quotes?  Looks like we just need some indenting.  Example:
 http://www.winehq.com/?issue=264#Wine%20Status

This should indent properly now. Seems dl does not inherit the
padding-left used by the indent class in the p tag. I coded a work
around. Someone can fill me in if there is a better way to do this.