Permalink
Browse files

Replace all spaces with underscores in usernames for {{usernameexpand}}

  • Loading branch information...
1 parent e071c33 commit d96a7252a263a280839d504141d72baf0edd0853 @theopolisme committed Jul 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 selfimages.py
View
2 selfimages.py
@@ -85,7 +85,7 @@ def process_page(page):
| description = """+description+"""
| source = {{own}}
| date = """ + date + """
-| author = {{subst:usernameexpand|""" + user + """}}
+| author = {{subst:usernameexpand|""" + user.replace(" ","_") + """}}
}}\n""" + contents
global donenow

0 comments on commit d96a725

Please sign in to comment.