#17994: Markdown safe mode fails to return result if there's link in content
--------------------------------+--------------------------------------
     Reporter:  simonas@…       |                    Owner:  nobody
         Type:  Bug             |                   Status:  closed
    Component:  contrib.markup  |                  Version:  1.4
     Severity:  Normal          |               Resolution:  invalid
     Keywords:                  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  1               |                    UI/UX:  0
--------------------------------+--------------------------------------
Changes (by ptone):

 * status:  new => closed
 * needs_better_patch:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 The markdown library has an interesting use of the term "safe mode" as it
 also enables the markdown syntax to inject JS attributes.  see #17837

 as such, the safe mode feature and markdown's "enable_attributes" were
 coupled in Django 1.4 : https://docs.djangoproject.com/en/dev/releases/1.4
 /#attributes-disabled-in-markdown-when-safe-mode-set

 So if you want to enable markdown features that are not safe, just do not
 pass the "safe" parameter to the tag.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17994#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to