Skip to content

Commit

Permalink
new replace value
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 22, 2016
1 parent 49c325b commit 7fbbb0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/appier_extras/utils/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ def _to_id(self, value):
is_global = is_global or value.startswith("[")
value = value.lower()
value = value.replace(" ", "-")
value = value.replace("?", "")
value = "global" if is_global else value
value = self._resolve_id(value)
self.ids.append(value)
Expand Down

0 comments on commit 7fbbb0b

Please sign in to comment.