Changeset 3198:d259a423147f in livinglogic.python.xist

Show
Ignore:
Timestamp:
01/30/08 11:43:43 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Use CDATA section to make HTML readable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • docs/XIST_Misc.xml

    r3197 r3198  
    8686<p>This will print:</p> 
    8787<example> 
    88 <tty> 
    89 &lt;html&gt; 
    90     &lt;head&gt; 
    91         &lt;title&gt;foo&lt;/title&gt; 
    92     &lt;/head&gt; 
    93     &lt;body&gt; 
    94         &lt;div&gt; 
    95             &lt;h1&gt;The &lt;em&gt;foo&lt;/em&gt; page!&lt;/h1&gt; 
    96             &lt;p&gt;Welcome to the &lt;em&gt;foo&lt;/em&gt; page.&lt;/p&gt; 
    97         &lt;/div&gt; 
    98     &lt;/body&gt; 
    99 &lt;/html&gt; 
    100 </tty> 
     88<tty><![CDATA[ 
     89<html> 
     90    <head> 
     91        <title>foo</title> 
     92    </head> 
     93    <body> 
     94        <div> 
     95            <h1>The <em>foo</em> page!</h1> 
     96            <p>Welcome to the <em>foo</em> page.</p> 
     97        </div> 
     98    </body> 
     99</html> 
     100]]></tty> 
    101101</example> 
    102102<p>Element content will only be modified if it doesn't contain