Skip to content

Commit ff8417c

Browse files
authored
Fix #670: fix content-char (#671)
* Fix #670: fix `content-char` Fixes #670 `content-char` wants to skip U+0020 (`SPACE`) but manages to skip U+001A through U+001F too... * Update syntax.md
1 parent 73a7684 commit ff8417c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/message.abnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ quoted-char = content-char / s / "." / "@" / "{" / "}"
9090
reserved-char = content-char / "."
9191
content-char = %x00-08 ; omit HTAB (%x09) and LF (%x0A)
9292
/ %x0B-0C ; omit CR (%x0D)
93-
/ %x0E-19 ; omit SP (%x20)
93+
/ %x0E-1F ; omit SP (%x20)
9494
/ %x21-2D ; omit . (%x2E)
9595
/ %x2F-3F ; omit @ (%x40)
9696
/ %x41-5B ; omit \ (%x5C)

spec/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ quoted-char = content-char / s / "." / "@" / "{" / "}"
293293
reserved-char = content-char / "."
294294
content-char = %x00-08 ; omit HTAB (%x09) and LF (%x0A)
295295
/ %x0B-0C ; omit CR (%x0D)
296-
/ %x0E-19 ; omit SP (%x20)
296+
/ %x0E-1F ; omit SP (%x20)
297297
/ %x21-2D ; omit . (%x2E)
298298
/ %x2F-3F ; omit @ (%x40)
299299
/ %x41-5B ; omit \ (%x5C)

0 commit comments

Comments
 (0)