Documentation

Lean.Data.Html.CharRef

Looks up the string denoted by the body ref of an HTML named character reference &ref;. Returns none when &ref; is not listed in the HTML standard.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Parses the body ref of a numeric character reference &ref; in decimal ({) or hexadecimal ({) notation to the number it denotes. The number is not checked to be a Unicode scalar value, and a number above 0x10FFFF, the largest code point, is returned as 0x110000. Returns none when ref is not # or #x followed by one or more digits.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Looks up the string denoted by the body ref of an HTML character reference &ref;. Returns none when &ref; is not valid per the HTML standard.

      Named references (such as &) must be listed in the HTML standard. Numeric references in decimal ({) or hexadecimal ({) notation must denote a Unicode scalar value that is not U+0000, U+000D, a noncharacter, or a control other than ASCII whitespace.

      Equations
      Instances For