Skip to content
Browse files

Proper ordering for markup processing, fixes #135

Code blocks get extracted first.
  • Loading branch information...
1 parent 3cfa297 commit 2bea800a371e57170017f1045f883f7140936e3a @vmg vmg committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/gollum/markup.rb
View
3 lib/gollum/markup.rb
@@ -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.
Something went wrong with that request. Please try again.