Changeset 242

Show
Ignore:
Timestamp:
02/22/2008 08:34:52 (9 months ago)
Author:
jgarber
Message:

Adapt Threshold State test cases for our character escape preferences:
* select character escapes are now character entities instead of NCRs
* don't escape quotes in code blocks

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/superredcloth/test/threshold.yml

    r236 r242  
    147147desc: To include a short snippet of code such as XHTML or Javascript, surround it with @ “at” symbols. XHTML significant characters within a code phrase will be escaped for display to the reader. 
    148148in: About the @<hr />@ tag. 
    149 out: <p>About the <code>&#60;hr /&#62;</code> tag.</p> 
     149out: <p>About the <code>&lt;hr /&gt;</code> tag.</p> 
    150150--- 
    151151name: links 
     
    260260  </script> 
    261261out: |- 
    262   <pre><code>&#60;script&#62; 
     262  <pre><code>&lt;script&gt; 
    263263  // a Javascript example 
    264   alert(&#34;Hello World&#34;); 
    265   &#60;/script&#62; 
     264  alert("Hello World"); 
     265  &lt;/script&gt; 
    266266  </code></pre> 
    267267--- 
     
    363363out: |- 
    364364  <p>A <span class="caps">PHP</span> code example.</p> 
    365   <pre><code>&#60;?php 
     365  <pre><code>&lt;?php 
    366366  function hello() { 
    367367  // display a hello message 
    368368  </code> 
    369   <code>         print &#34;Hello, World&#34;; 
     369  <code>         print "Hello, World"; 
    370370  } 
    371   ?&#62; 
     371  ?&gt; 
    372372  </code></pre> 
    373373  <p>Following paragraph.</p> 
     
    460460out: |- 
    461461  <pre> 
    462   A HTML &#60;b&#62;example&#60;/b&#62; 
     462  A HTML &lt;b&gt;example&lt;/b&gt; 
    463463  </pre> 
    464464note: This syntax is supported for backwards compatibility only, and doesn’t always work as expected. The block modifier pre. should be used instead. 
     
    472472out: |- 
    473473  <p><code> 
    474   Another HTML &#60;b&#62;example&#60;/b&#62; 
     474  Another HTML &lt;b&gt;example&lt;/b&gt; 
    475475  </code></p> 
    476476note: This syntax is supported for backwards compatibility only, and doesn’t always work as expected. The block modifier bc. should be used instead.