mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 12:13:41 +03:00
[ABNF] Improve doc comment about bidi exclusions.
This mentions embeddings and isolates besides overrides, in accordance with the official terminology at https://www.unicode.org/reports/tr9/. This update was discussed and agreed with @bendyarm. Note: The Leo Reference includes text explaining these exclusions, with links to the document above as well to the web site and paper about Trojan source exploits.
This commit is contained in:
parent
c72f860349
commit
a8c674a881
@ -29,13 +29,13 @@ ascii = %x0-7F
|
||||
<a name="safe-nonascii"></a>
|
||||
```abnf
|
||||
safe-nonascii = %x80-2029 / %x202F-2065 / %x2070-D7FF / %xE000-10FFFF
|
||||
; excludes bidi overrides and high/low surrogates
|
||||
; excludes bidi embeddings/overrides/isolates
|
||||
; and excludes high/low surrogates
|
||||
```
|
||||
|
||||
<a name="character"></a>
|
||||
```abnf
|
||||
character = ascii / safe-nonascii
|
||||
; Unicode code points decoded from UTF-8
|
||||
```
|
||||
|
||||
Go to: _[ascii](#user-content-ascii), [safe-nonascii](#user-content-safe-nonascii)_;
|
||||
|
@ -22,10 +22,10 @@
|
||||
ascii = %x0-7F
|
||||
|
||||
safe-nonascii = %x80-2029 / %x202F-2065 / %x2070-D7FF / %xE000-10FFFF
|
||||
; excludes bidi overrides and high/low surrogates
|
||||
; excludes bidi embeddings/overrides/isolates
|
||||
; and excludes high/low surrogates
|
||||
|
||||
character = ascii / safe-nonascii
|
||||
; Unicode code points decoded from UTF-8
|
||||
|
||||
horizontal-tab = %x9 ; <HT>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user