Properly escape < in HTML content.

This commit is contained in:
Danila Fedorin 2023-12-28 00:36:58 -08:00
parent 9f437d5b9f
commit d7d99205a1

View File

@ -329,8 +329,8 @@ above. I've provided the rules for numbers; the rules for strings should be quit
similar.<br> similar.<br>
<br> <br>
In Bergamot, the claim that an expression <code>e</code> has type <code>t</code> In Bergamot, the claim that an expression <code>e</code> has type <code>t</code>
is written as <code>type(e, t)</code>. A rule looks like <code>RuleName @ conclusion <- premise1, premise2;</code>. is written as <code>type(e, t)</code>. A rule looks like <code>RuleName @ conclusion &lt;- premise1, premise2;</code>.
Thus, the rule <pre><code>TNumber @ type(lit(?n), number) <- num(?n); Thus, the rule <pre><code>TNumber @ type(lit(?n), number) &lt;- num(?n);
</code></pre> </code></pre>
Has one premise, that the term \(n\) is a number, and the conclusion is that Has one premise, that the term \(n\) is a number, and the conclusion is that
a number literal has type \(\text{number}\). The <code>num</code> condition a number literal has type \(\text{number}\). The <code>num</code> condition