-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
There are a large number of instances of text mangling in the Advanced Policy Expression Reference, relating to the codehilite blocks.
In order to illustrate these, I'm referring to the "GET_URLSET_METADATA" section on the NVLIST_T page, as that is the first place it appears on that page, but it occurs many times.
The codehilite block seems to be including elements that should not be included. For example, the "GE", "GT" and "HASH" section titles are embedded inside the codehilite block
Example of an area with the issue:
<p><b>* </b><b>GET_URLSET_METADATA</b>(<a href="../../text_t/text_t/">text_t</a>urlset_name)</p>
<p>Returns metadata value corresponding to pattern in the urlset.</p>
<p>The matching is case-insensitive for domains, but case-sensitive</p>
<p>for paths. If no pattern is matched within the urlset, the return</p>
<p>value is a NULL string.</p>
<p>For example:</p>
<p><ul><li>HTTP.REQ.HOST.APPEND(HTTP.REQ.URL).GET_URLSET_METADATA("urlset_forbidden")</p>
<p>returns value when the combined domain and URL is looked up in the</p>
<p>urlset whose name is "urlset_forbidden".</li></p><p><b>Parameters</b>(expressions not allowed):</p><div><p>urlset_name - </p>
<div class="codehilite"><pre><span></span><code> urlset name<span class="nt"></p></div><p><b></span>Returns: <span class="nt"></b><a</span> <span class="na">href=</span><span class="s">"../text_t/text_t/"</span><span class="nt">></span>text_t<span class="nt"></a></p></div></div></div><div><div><p><b></span>* <span class="nt"></b><b></span>GE<span class="nt"></b></span>(<span class="nt"><a</span> <span class="na">href=</span><span class="s">"../text_t/text_t/"</span><span class="nt">></span>text_t<span class="nt"></a></span>s)<span class="nt"></p><div><p></span>Results in Boolean TRUE value if the Text object is greater than or
</code></pre></div>
Example of an area without the issue:
<p><b>* </b><b>GET_UNSIGNED64</b>(uint n, <a href="../../endian_e/endian_e/">endian_e</a>endianness)</p>
<p>Get the 64-bit unsigned binary integer at the given offset.</p>
<p><b>Parameters</b>:</p>
<p>n - </p>
<div class="codehilite"><pre><span></span><code><span class="err"> Offset in bytes</span>
</code></pre></div>
<p>endianness - </p>
<div class="codehilite"><pre><span></span><code><span class="err"> Select little or big endian</span>
</code></pre></div>
<p><b>Returns: </b><a href="../../unsigned_long_at/unsigned_long_at/">unsigned_long_at</a></p>
Screenshot of an area without the issue:
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation