Skip to content

Commit

Permalink
Fix table rendering
Browse files Browse the repository at this point in the history
Fixes a broken table rendering in spec-md and two broken renderings in GFM.

Originally suggested by #233
  • Loading branch information
leebyron committed Oct 31, 2016
1 parent 47cab5a commit 2a7290d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion spec/Section 2 -- Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ StringCharacter :: \ EscapedCharacter
* Return the character value of {EscapedCharacter} according to the table below.

| Escaped Character | Code Unit Value | Character Name |
----------------------------------------------------------------------
| ----------------- | --------------- | ---------------------------- |
| `"` | U+0022 | double quote |
| `\` | U+005C | reverse solidus (back slash) |
| `/` | U+002F | solidus (forward slash) |
Expand Down
12 changes: 6 additions & 6 deletions spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -818,12 +818,12 @@ input ExampleInputObject {
```

Original Value | Variables | Coerced Value
-------------------------------------------------------------------------------
`{ a: "abc", b: 123 }` | | `{ a: "abc", b: 123 }`
`{ a: 123, b: "123" }` | | `{ a: "123", b: 123 }`
`{ a: "abc" }` | | Error: Missing required field {b}
`{ a: "abc", b: null }` | | Error: {b} must be non-null.
`{ a: null, b: 1 }` | | `{ a: null, b: 1 }`
----------------------- | --------------- | -----------------------------------
`{ a: "abc", b: 123 }` | {null} | `{ a: "abc", b: 123 }`
`{ a: 123, b: "123" }` | {null} | `{ a: "123", b: 123 }`
`{ a: "abc" }` | {null} | Error: Missing required field {b}
`{ a: "abc", b: null }` | {null} | Error: {b} must be non-null.
`{ a: null, b: 1 }` | {null} | `{ a: null, b: 1 }`
`{ b: $var }` | `{ var: 123 }` | `{ b: 123 }`
`{ b: $var }` | `{}` | Error: Missing required field {b}.
`{ b: $var }` | `{ var: null }` | Error: {b} must be non-null.
Expand Down

0 comments on commit 2a7290d

Please sign in to comment.