File: entity_encoding_test.html

package info (click to toggle)
ruby-ronn 0.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: ruby: 1,587; sh: 22; makefile: 9
file content (42 lines) | stat: -rw-r--r-- 1,272 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div class='mp'>

<h2 id="NAME">NAME</h2>
<p class="man-name">
  <code>hello</code> - <span class="man-whatis">hello world</span>
</p>
<p>Your output &lt;i&gt;might&lt;/i&gt; look like this:</p>

<pre><code>* Chris
*
* &amp;lt;b&amp;gt;GitHub&amp;lt;/b&amp;gt;
* &lt;b&gt;GitHub&lt;/b&gt;
</code></pre>

<p>Here's some special entities:</p>

<ul>
  <li>&amp;bull;       •</li>
  <li>&amp;nbsp;        </li>
  <li>&amp;copy;       ©</li>
  <li>&amp;rdquo;      ”</li>
  <li>&amp;mdash;      —</li>
  <li>&amp;reg;        ®</li>
  <li>&amp;sect;       §</li>
  <li>&amp;ge;         ≥</li>
  <li>&amp;le;         ≤</li>
  <li>&amp;ne;         ≠</li>
  <li>&amp;equiv;      ≡</li>
</ul>

<p>Here's a line that uses non-breaking spaces to force the
last few words to wrap together.</p>

<p>And stuff like this:</p>

<p>git bulk [-g] ([-a]|[-w <ws-name>]) <git command> </git></ws-name><br>
git bulk --addworkspace <ws-name> <ws-root-directory> (--from <url or file>) </url></ws-root-directory></ws-name><br>
git bulk --removeworkspace &lt;ws-name&gt; <br></p>

<p>Should have the <code>&amp;lt;</code>/<code>&amp;gt;</code> entities stay as <code>&amp;lt;</code>/<code>&amp;gt;</code> in HTML, but be
turned into literal brackets in the ROFF.</p>
</div>