Commit 43db54e5 authored by Dave Machado's avatar Dave Machado Committed by GitHub
Browse files

Update conditional to use raw index of substring

parent 95071c35
...@@ -36,7 +36,7 @@ function setupMd(filename, anchor) { ...@@ -36,7 +36,7 @@ function setupMd(filename, anchor) {
if (line.length < 2 || cur_line == lines.length) { if (line.length < 2 || cur_line == lines.length) {
break break
} }
if (line.startsWith("|")) { if (line.indexOf("|") == 0) {
arr.push(line + table_name) arr.push(line + table_name)
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment