mirror of https://github.com/kdl-org/kdl.git
Remove VT from newline definition (#32)
The Unicode standard listed VT in its table in §5.8 but that was just a table of acronyms, and VT was only listed because Microsoft Word used it as a line separator. VT is not part of its recommendation for characters to treat as line terminators.
This commit is contained in:
parent
870339c69e
commit
3c36d683ab
3
SPEC.md
3
SPEC.md
|
|
@ -139,7 +139,6 @@ lines](https://www.unicode.org/versions/Unicode13.0.0/ch05.pdf):
|
|||
| LF | Line Feed | `000A` |
|
||||
| CRLF | Carriage Return and Line Feed | `000D` + `000A` |
|
||||
| NEL | Next Line | `0085` |
|
||||
| VT | Vertical Tab | `000B` |
|
||||
| FF | Form Feed | `000C` |
|
||||
| LS | Line Separator | `2028` |
|
||||
| PS | Paragraph Separator | `2029` |
|
||||
|
|
@ -189,7 +188,7 @@ escline := '\\' ws* (single-line-comment | newline)
|
|||
|
||||
linespace := newline | ws | single-line-comment
|
||||
|
||||
newline := `000D` | `000A` | `000D` `000A` | `0085` | `000B` | `000C` | `2028` | `2029`
|
||||
newline := `000D` | `000A` | `000D` `000A` | `0085` | `000C` | `2028` | `2029`
|
||||
|
||||
ws := bom | unicode-space | multi-line-comment | slashdash-comment
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue