Skip to content

Commit

Permalink
Merge pull request #9 from BrianHicks/patch-1
Browse files Browse the repository at this point in the history
Remove double slash in form media
  • Loading branch information
Timmy O'Mahony committed Apr 2, 2013
2 parents 106eb62 + 1f02063 commit 16f9f7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pagedown/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class Media:
css = {
'all': ('pagedown/demo/browser/demo.css',)
}
js = ('%s/pagedown/Markdown.Converter.js' % settings.STATIC_URL,
'%s/pagedown/Markdown.Sanitizer.js' % settings.STATIC_URL,
'%s/pagedown/Markdown.Editor.js' % settings.STATIC_URL,)
js = ('%s/pagedown/Markdown.Converter.js' % settings.STATIC_URL.rstrip('/'),
'%s/pagedown/Markdown.Sanitizer.js' % settings.STATIC_URL.rstrip('/'),
'%s/pagedown/Markdown.Editor.js' % settings.STATIC_URL.rstrip('/'),)

def render(self, name, value, attrs=None):
if value is None:
Expand Down

0 comments on commit 16f9f7c

Please sign in to comment.