We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dbbab5 commit 0a62a19Copy full SHA for 0a62a19
hacktricks-preprocessor.py
@@ -165,6 +165,8 @@ def iterate_chapters(sections):
165
book_items = book.get('sections') or book.get('items', [])
166
167
for chapter in iterate_chapters(book_items):
168
+ if chapter is None:
169
+ continue
170
logger.debug(f"Chapter: {chapter['path']}")
171
current_chapter = chapter
172
# regex = r'{{[\s]*#ref[\s]*}}(?:\n)?([^\\\n]*)(?:\n)?{{[\s]*#endref[\s]*}}'
0 commit comments