Skip to content

Ensure block elements are defined per instance#731

Merged
waylan merged 1 commit intoPython-Markdown:masterfrom
facelessuser:block-instance
Oct 9, 2018
Merged

Ensure block elements are defined per instance#731
waylan merged 1 commit intoPython-Markdown:masterfrom
facelessuser:block-instance

Conversation

@facelessuser
Copy link
Collaborator

Block level elements should be defined per instance, not as base class variables. Ref #730

Block level elements should be defined per instance, not as base class variables.
self.assertEqual('|' not in md2.ESCAPED_CHARS, True)


class TestBlockAppend(unittest.TestCase):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@waylan , wasn't sure if you have a special place for new API tests, so I put this with the old.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't actually testing rendered output, so this is were it belongs.

@waylan waylan merged commit 042bd0b into Python-Markdown:master Oct 9, 2018
@waylan waylan added this to the Version 3.1 milestone Feb 7, 2019
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