Changed the target of the markdown links for opening in a new tab as suggested by joar.

This commit is contained in:
Emily O'Leary 2013-03-25 14:13:09 -04:00 committed by Rodney Ewing
parent bb3299ce21
commit 3cf4ae0c41

View File

@ -23,7 +23,7 @@ class MediaCommentForm(wtforms.Form):
_('Comment'), _('Comment'),
[wtforms.validators.Required()], [wtforms.validators.Required()],
description=_(u'You can use ' 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.')) u'Markdown</a> for formatting.'))
class ConfirmDeleteForm(wtforms.Form): class ConfirmDeleteForm(wtforms.Form):
@ -47,5 +47,5 @@ class MediaCollectForm(wtforms.Form):
collection_description = wtforms.TextAreaField( collection_description = wtforms.TextAreaField(
_('Description of this collection'), _('Description of this collection'),
description=_("""You can use 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.""")) Markdown</a> for formatting."""))