Skip to content

Conversation

ap-Codkelden
Copy link

When parsing links like Twitter pics with size attribute (see Twitter docs), e. g. this, Python-Markdown return HTML tag <a> with empty href attirbute, because sanitize_url make of colon in "path", "parameters", "query" or "fragment" is suspect.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 92.94% when pulling 5a41ea0 on ap-Codkelden:master into ce24238 on waylan:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 92.94% when pulling 5a41ea0 on ap-Codkelden:master into ce24238 on waylan:master.

@waylan
Copy link
Member

waylan commented Apr 19, 2015

Just don't use 'safe_mode'. In fact safe_mode is deprecated will be removed in the next release. Therefore I see no reason to make any changes to it. If you don't like its current behavior then you should turn if off and use a different solution (like Bleach, as suggested in the docs). See the release notes for more details.

@waylan waylan closed this Apr 19, 2015
@ap-Codkelden
Copy link
Author

A, ok. Thank you for explanation.

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.

3 participants