Skip to content

Conversation

@jmasclef
Copy link

@jmasclef jmasclef commented Mar 12, 2021

subsection extract does not work

to fix, in section method replace
index = self.content.index(section) + len(section)
with
title_index = self.content.index(section) #search section title
index = self.content.index('\n',title_index ) #search next end-of-line

Sacha Vakili and others added 4 commits September 5, 2020 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants