From 2a7290d95bc2c5f0e0c7e5897c90279cd1c99fe3 Mon Sep 17 00:00:00 2001 From: Lee Byron Date: Mon, 31 Oct 2016 12:08:48 -0700 Subject: [PATCH] Fix table rendering Fixes a broken table rendering in spec-md and two broken renderings in GFM. Originally suggested by #233 --- spec/Section 2 -- Language.md | 2 +- spec/Section 3 -- Type System.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/Section 2 -- Language.md b/spec/Section 2 -- Language.md index 7b7b767e3..d6436c481 100644 --- a/spec/Section 2 -- Language.md +++ b/spec/Section 2 -- Language.md @@ -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) | diff --git a/spec/Section 3 -- Type System.md b/spec/Section 3 -- Type System.md index 0ddca1edc..29d6401fc 100644 --- a/spec/Section 3 -- Type System.md +++ b/spec/Section 3 -- Type System.md @@ -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.