summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--js/bench.js2
-rw-r--r--spec.txt4
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8d35b9d..1094b65 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CFLAGS?=-g -O3 -Wall -Wextra -std=c99 -Isrc -Wno-missing-field-initializers $(OP
LDFLAGS?=-g -O3 -Wall -Werror
SRCDIR?=src
DATADIR?=data
-
+BENCHINP?=bench.md
PROG?=./stmd
.PHONY: all test spec benchjs testjs
diff --git a/js/bench.js b/js/bench.js
index 3c486b1..46b6d7d 100644
--- a/js/bench.js
+++ b/js/bench.js
@@ -7,7 +7,7 @@ var showdown = require('../../showdown/src/showdown');
// https://github.com/chjj/marked
var marked = require('../../marked/marked.min.js');
-var benchfile = process.argv[2] || 'oldtests/Original/Markdown_Documentation_Syntax.markdown';
+var benchfile = process.argv[2];
var contents = fs.readFileSync(benchfile, 'utf8');
diff --git a/spec.txt b/spec.txt
index 7b447f1..0c09c43 100644
--- a/spec.txt
+++ b/spec.txt
@@ -1355,8 +1355,8 @@ name is one of the following (case-insensitive):
`output`, `col`, `p`, `colgroup`, `pre`, `dd`, `progress`, `div`,
`section`, `dl`, `table`, `td`, `dt`, `tbody`, `embed`, `textarea`,
`fieldset`, `tfoot`, `figcaption`, `th`, `figure`, `thead`, `footer`,
-`footer`, `tr`, `form`, `ul`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`,
-`video`, `script`, `style`.
+`tr`, `form`, `ul`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `video`,
+`script`, `style`.
An [HTML block](#html-block) <a id="html-block"></a> begins with an
[HTML block tag](#html-block-tag), [HTML comment](#html-comment),