Skip to content

Commit 2a7290d

Browse files
committed
Fix table rendering
Fixes a broken table rendering in spec-md and two broken renderings in GFM. Originally suggested by #233
1 parent 47cab5a commit 2a7290d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spec/Section 2 -- Language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ StringCharacter :: \ EscapedCharacter
737737
* Return the character value of {EscapedCharacter} according to the table below.
738738

739739
| Escaped Character | Code Unit Value | Character Name |
740-
----------------------------------------------------------------------
740+
| ----------------- | --------------- | ---------------------------- |
741741
| `"` | U+0022 | double quote |
742742
| `\` | U+005C | reverse solidus (back slash) |
743743
| `/` | U+002F | solidus (forward slash) |

spec/Section 3 -- Type System.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -818,12 +818,12 @@ input ExampleInputObject {
818818
```
819819

820820
Original Value | Variables | Coerced Value
821-
-------------------------------------------------------------------------------
822-
`{ a: "abc", b: 123 }` | | `{ a: "abc", b: 123 }`
823-
`{ a: 123, b: "123" }` | | `{ a: "123", b: 123 }`
824-
`{ a: "abc" }` | | Error: Missing required field {b}
825-
`{ a: "abc", b: null }` | | Error: {b} must be non-null.
826-
`{ a: null, b: 1 }` | | `{ a: null, b: 1 }`
821+
----------------------- | --------------- | -----------------------------------
822+
`{ a: "abc", b: 123 }` | {null} | `{ a: "abc", b: 123 }`
823+
`{ a: 123, b: "123" }` | {null} | `{ a: "123", b: 123 }`
824+
`{ a: "abc" }` | {null} | Error: Missing required field {b}
825+
`{ a: "abc", b: null }` | {null} | Error: {b} must be non-null.
826+
`{ a: null, b: 1 }` | {null} | `{ a: null, b: 1 }`
827827
`{ b: $var }` | `{ var: 123 }` | `{ b: 123 }`
828828
`{ b: $var }` | `{}` | Error: Missing required field {b}.
829829
`{ b: $var }` | `{ var: null }` | Error: {b} must be non-null.

0 commit comments

Comments
 (0)