Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown compat (overtakes #3604) #3842

Merged
merged 6 commits into from
Jan 19, 2016
Merged

Conversation

xordoquy
Copy link
Collaborator

The current apply_markdown generates the following DeprecationWarnings:

markdown/__init__.py:143: DeprecationWarning: "safe_mode" is deprecated in Python-Markdown. Use an HTML sanitizer (like Bleach http://bleach.readthedocs.org/) if you are parsing untrusted markdown text. See the 2.6 release notes for more info

markdown/__init__.py:222: DeprecationWarning: Setting configs in the Named Extension string is deprecated. It is recommended that you pass an instance of the extension class to Markdown or use the "extension_configs" keyword. The current behavior will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.

markdown/__init__.py:259: DeprecationWarning: Using short names for Markdown's builtin extensions is deprecated. Use the full path to the extension with Python's dot notation (eg: "markdown.extensions.headerid" instead of "headerid"). The current behavior will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.

These three commits correct them per the Python-Markdown 2.6 release notes.

@xordoquy xordoquy mentioned this pull request Jan 19, 2016
@xordoquy xordoquy added this to the 3.3.3 Release milestone Jan 19, 2016
xordoquy added a commit that referenced this pull request Jan 19, 2016
@xordoquy xordoquy merged commit c2e9470 into encode:master Jan 19, 2016
@xordoquy
Copy link
Collaborator Author

Thanks @mjschultz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants