Home | History | Annotate | Download | only in Tests_2004
      1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
      2 <html>
      3 <head>
      4 <meta name="generator" content=
      5 "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org">
      6 <title></title>
      7 </head>
      8 <body>
      9 <p>These should all get escaped:</p>
     10 <p>Backslash: \</p>
     11 <p>Backtick: `</p>
     12 <p>Asterisk: *</p>
     13 <p>Underscore: _</p>
     14 <p>Left brace: {</p>
     15 <p>Right brace: }</p>
     16 <p>Left bracket: [</p>
     17 <p>Right bracket: ]</p>
     18 <p>Left paren: (</p>
     19 <p>Right paren: )</p>
     20 <p>Greater-than: &gt;</p>
     21 <p>Hash: #</p>
     22 <p>Period: .</p>
     23 <p>Bang: !</p>
     24 <p>Plus: +</p>
     25 <p>Minus: -</p>
     26 <p>These should not, because they occur within a code block:</p>
     27 <pre>
     28 <code>Backslash: \
     29 
     30 Backtick: \`
     31 
     32 Asterisk: \*
     33 
     34 Underscore: \_
     35 
     36 Left brace: \{
     37 
     38 Right brace: \}
     39 
     40 Left bracket: \[
     41 
     42 Right bracket: \]
     43 
     44 Left paren: \(
     45 
     46 Right paren: \)
     47 
     48 Greater-than: \&gt;
     49 
     50 Hash: \#
     51 
     52 Period: \.
     53 
     54 Bang: \!
     55 
     56 Plus: \+
     57 
     58 Minus: \-
     59 </code>
     60 </pre>
     61 <p>Nor should these, which occur in code spans:</p>
     62 <p>Backslash: <code>\</code></p>
     63 <p>Backtick: <code>\`</code></p>
     64 <p>Asterisk: <code>\*</code></p>
     65 <p>Underscore: <code>\_</code></p>
     66 <p>Left brace: <code>\{</code></p>
     67 <p>Right brace: <code>\}</code></p>
     68 <p>Left bracket: <code>\[</code></p>
     69 <p>Right bracket: <code>\]</code></p>
     70 <p>Left paren: <code>\(</code></p>
     71 <p>Right paren: <code>\)</code></p>
     72 <p>Greater-than: <code>\&gt;</code></p>
     73 <p>Hash: <code>\#</code></p>
     74 <p>Period: <code>\.</code></p>
     75 <p>Bang: <code>\!</code></p>
     76 <p>Plus: <code>\+</code></p>
     77 <p>Minus: <code>\-</code></p>
     78 </body>
     79 </html>
     80