In WWN 264 there's the following:
<rant> ... </rant>
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?
Would it not be just "&lt;rant&gt;" ?
XML -> HTML renders this to "<rant>", 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:
<rant> ... </rant>
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?
On Tue, 8 Mar 2005 10:38:22 +0000, Paul Millar p.millar@physics.gla.ac.uk wrote:
Would it not be just "&lt;rant&gt;" ?
XML -> HTML renders this to "<rant>", which the browser will render as "<rant>".
No.. that didn't work. Good tip though.
Newman - any ideas? Maybe < rant >? 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 <DL><DT><DD> tags within quotes? Looks like we just need some indenting. Example: http://www.winehq.com/?issue=264#Wine%20Status
-Brian
On Tue, 2005-03-08 at 08:43 -0700, Brian Vincent wrote:
On Tue, 8 Mar 2005 10:38:22 +0000, Paul Millar p.millar@physics.gla.ac.uk wrote:
Would it not be just "&lt;rant&gt;" ?
XML -> HTML renders this to "<rant>", which the browser will render as "<rant>".
No.. that didn't work. Good tip though.
Newman - any ideas? Maybe < rant >? I think that would be acceptable if it worked.
&lt;rant&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 <rant> 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 <DL><DT><DD> 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.
Francois Gouget wrote:
In WWN 264 there's the following:
<rant> ... </rant>
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 "&", so you would get: &lt;rant&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 < again.
Shachar