Skip to content

CommonMark.dumpAST: 'Block' object has no attribute 'title' #16

@hyperknot

Description

@hyperknot

Running CommonMark.dumpAST terminates in a AttributeError.

/usr/local/lib/python2.7/site-packages/CommonMark/CommonMark.pyc in dumpAST(obj, ind)
    117     indChar = ("\t" * ind) + "-> " if ind else ""
    118     print(indChar + "[" + obj.t + "]")
--> 119     if not obj.title == "":
    120         print("\t" + indChar + "Title: " + obj.title)
    121     if not obj.info == "":

AttributeError: 'Block' object has no attribute 'title'

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