mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 03:37:02 +00:00
Undo linting on unrelated pages
This commit is contained in:
1 parent
d0fbca7af5
commit
97fba241a1
1 file changed
+1
-1
@@ -29,7 +29,7 @@ const getTOC = (pages)=>{
|
||||
|
||||
const res = [];
|
||||
_.each(pages, (page, pageNum)=>{
|
||||
if(!page.includes('{{frontCover}}') && !page.includes('{{insideCover}}') && !page.includes('{{partCover}}') && !page.includes('{{backCover}}')) {
|
||||
if(!page.includes("{{frontCover}}") && !page.includes("{{insideCover}}") && !page.includes("{{partCover}}") && !page.includes("{{backCover}}")) {
|
||||
const lines = page.split('\n');
|
||||
_.each(lines, (line)=>{
|
||||
if(_.startsWith(line, '# ')){
|
||||
|
||||
Reference in new issue
Block a user