Skip to content

Commit

Permalink
Fix issue #139 with more rigid regex
Browse files Browse the repository at this point in the history
  • Loading branch information
sklise committed Aug 7, 2012
1 parent 63a152f commit 3da584c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/codepostprocessing.rb
Expand Up @@ -59,7 +59,7 @@ def addStylesToCodeLines(code)
styled_code << codeline
else
# There was an inline code, look for styles
style_match = codeline.match(/\[(.*)\]/)
style_match = codeline.match(/\/\/\[(.*)\]/)

styled_line = codeline.gsub(/ *<span class="c1">(.*?)<\/span> */,'')

Expand Down

0 comments on commit 3da584c

Please sign in to comment.