Permalink
Browse files

Proper ordering for markup processing, fixes #135

Code blocks get extracted first.
  • Loading branch information...
vmg committed May 3, 2012
1 parent 3cfa297 commit 2bea800a371e57170017f1045f883f7140936e3a
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/gollum/markup.rb
View
@@ -38,8 +38,9 @@ def render(no_follow = false, encoding = nil)
@wiki.history_sanitizer :
@wiki.sanitizer
- data = extract_tex(@data.dup)
+ data = @data.dup
data = extract_code(data)
+ data = extract_tex(data)
data = extract_wsd(data)
data = extract_tags(data)
begin

0 comments on commit 2bea800

Please sign in to comment.