Skip to content

Issues with codehilite blocks #5

@bd5872

Description

@bd5872

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">&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;</span>Returns: <span class="nt">&lt;/b&gt;&lt;a</span> <span class="na">href=</span><span class="s">&quot;../text_t/text_t/&quot;</span><span class="nt">&gt;</span>text_t<span class="nt">&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;p&gt;&lt;b&gt;</span>* <span class="nt">&lt;/b&gt;&lt;b&gt;</span>GE<span class="nt">&lt;/b&gt;</span>(<span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">&quot;../text_t/text_t/&quot;</span><span class="nt">&gt;</span>text_t<span class="nt">&lt;/a&gt;</span>s)<span class="nt">&lt;/p&gt;&lt;div&gt;&lt;p&gt;</span>Results in Boolean TRUE value if the Text object is greater than or
</code></pre></div>

Screenshot of issue:
nvlist_t-get_urlset_metadata

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:

nvlist_t-get_unsigned64

Docs URL:https://developer-docs.citrix.com/projects/citrix-adc-advanced-policy-expression-reference/en/latest/nvlist_t/nvlist_t/

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions