Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
Proper ordering for markup processing, fixes gollum#135
Browse files Browse the repository at this point in the history
Code blocks get extracted first.
  • Loading branch information
vmg committed May 3, 2012
1 parent 3cfa297 commit 2bea800
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/gollum/markup.rb
Expand Up @@ -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
Expand Down

0 comments on commit 2bea800

Please sign in to comment.