citrix / citrix/devdocs-issue-collector

Issues with codehilite blocks

Open
#5 0 comments 0 reactions 1 assignee Claimed by @subbendumajumder View on GitHub
documentation
Dominant language
No language data
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

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:

```

* GET_URLSET_METADATA(text_turlset_name)


Returns metadata value corresponding to pattern in the urlset.


The matching is case-insensitive for domains, but case-sensitive


for paths. If no pattern is matched within the urlset, the return


value is a NULL string.


For example:


  • HTTP.REQ.HOST.APPEND(HTTP.REQ.URL).GET_URLSET_METADATA("urlset_forbidden")


    returns value when the combined domain and URL is looked up in the


    urlset whose name is "urlset_forbidden".

  • Parameters(expressions not allowed):

    urlset_name -


                            urlset name</p></div><p><b>Returns: </b><a href="../text_t/text_t/">text_t</a></p></div></div></div><div><div><p><b>* </b><b>GE</b>(<a href="../text_t/text_t/">text_t</a>s)</p><div><p>Results in Boolean TRUE value if the Text object is greater than or
    

    ```

    Screenshot of issue:
    ![nvlist_t-get_urlset_metadata](https://user-images.githubusercontent.com/18215811/102209332-80c97600-3ec8-11eb-9bda-0b12da163e69.PNG)

    Example of an area without the issue:

    ```

    * GET_UNSIGNED64(uint n, endian_eendianness)


    Get the 64-bit unsigned binary integer at the given offset.


    Parameters:


    n -


                            Offset in bytes
    

    endianness -


                            Select little or big endian
    

    Returns: unsigned_long_at


    ```

    Screenshot of an area without the issue:

    ![nvlist_t-get_unsigned64](https://user-images.githubusercontent.com/18215811/102209649-fa616400-3ec8-11eb-8d36-8dc336d8580a.PNG)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.