Skip to content

Instantly share code, notes, and snippets.

@arlolra
Created June 13, 2015 14:06
Show Gist options
  • Save arlolra/9cfc68e1f61b739674bb to your computer and use it in GitHub Desktop.
Save arlolra/9cfc68e1f61b739674bb to your computer and use it in GitHub Desktop.
diff --git a/lib/pegTokenizer.pegjs.txt b/lib/pegTokenizer.pegjs.txt
index fcdc022..d0df4ad 100644
--- a/lib/pegTokenizer.pegjs.txt
+++ b/lib/pegTokenizer.pegjs.txt
@@ -1745,7 +1745,7 @@ table_heading_tag
// There's been a newline. Remove the break and continue
// tokenizing nested_block_in_tables.
stops.pop('th');
- } else if (input.substr(endOffset() + 1, 2) === '!!') {
+ } else if (input.substr(endOffset(), 2) === '!!') {
// Ok, no newlines and we broke for a double exclamation.
// Stop here and let the next table_heading_tag proceed.
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment