Changed the target of the markdown links for opening in a new tab as suggested by...
authorEmily O'Leary <lotusecho@ThinkLotus>
Mon, 25 Mar 2013 18:13:09 +0000 (14:13 -0400)
committerRodney Ewing <ewing.rj@gmail.com>
Wed, 7 Aug 2013 23:33:10 +0000 (16:33 -0700)
mediagoblin/user_pages/forms.py

index cb8acb3610612ab9c4149c48815a7610c3efa802..ac8084c5125c6f6cf1504c0b0679b113627fc20b 100644 (file)
@@ -23,7 +23,7 @@ class MediaCommentForm(wtforms.Form):
         _('Comment'),
         [wtforms.validators.Required()],
         description=_(u'You can use '
-                      u'<a href="http://daringfireball.net/projects/markdown/basics" target=new>'
+                      u'<a href="http://daringfireball.net/projects/markdown/basics" target="_blank">'
                       u'Markdown</a> for formatting.'))
 
 class ConfirmDeleteForm(wtforms.Form):
@@ -47,5 +47,5 @@ class MediaCollectForm(wtforms.Form):
     collection_description = wtforms.TextAreaField(
         _('Description of this collection'),
         description=_("""You can use
-                      <a href="http://daringfireball.net/projects/markdown/basics">
+                      <a href="http://daringfireball.net/projects/markdown/basics" target="_blank">
                       Markdown</a> for formatting."""))