Skip to content

calling plain_text() on a section after deleting the title fails #100

@Jontpan

Description

@Jontpan

Test case:

wiki = """
intro

=== title1 ===
thing

=== title2 ===
more thing
"""

p = wtp.parse(wiki)

section = p.sections[1]

del section.title

section.plain_text()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions