Skip to content

Commit

Permalink
Fix extraneous quotes around addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Tucker committed Nov 22, 2012
1 parent 5d3a7ca commit 1788fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import_wikis/sycamore/syc_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def process_mailto_macro(self, macro_obj, name, args):
return '<a href="mailto:%s">%s</a>' % (email, email)

def process_address_macro(self, macro_obj, name, args):
address = render_wikitext(args, strong=False, page_slug=self.page_slug)
address = render_wikitext(args.strip('"'), strong=False, page_slug=self.page_slug)
# remove surrounding <p> tag
return '\n'.join(address.strip().split('\n')[1:-1])

Expand Down

0 comments on commit 1788fcf

Please sign in to comment.