Skip to content

Commit

Permalink
Remove markdown.py and replace scattered uses of it.
Browse files Browse the repository at this point in the history
It was used directly in two places in pages.py, I've
replaced those uses with safemarkdown calls. In the case
of the search fail page, I just removed the javascript
try-again link since it wouldn't be doable through safemarkdown
and that page isn't hit very frequently any more anyway.
  • Loading branch information
spladug committed Nov 21, 2011
1 parent 8eb6321 commit 560ca09
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 776 deletions.
2 changes: 1 addition & 1 deletion r2/example.ini
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ takedown_sr = _takedowns
png_optimizer = /usr/bin/env optipng
# bad words that should be *'d out
profanity_wordlist =
# which markdown backend to use (c = discount, py = markdown.py, snudown = snudown)
# which markdown backend to use (c = discount, snudown = snudown)
markdown_backend = snudown

# -- search --
Expand Down
Loading

0 comments on commit 560ca09

Please sign in to comment.