lib/polytexnic/preprocessors/polytex.rb in polytexnic-1.0.beta5 vs lib/polytexnic/preprocessors/polytex.rb in polytexnic-1.0.beta6

- old
+ new

@@ -216,10 +216,10 @@ code = code.join("\n") key = digest(code) code_cache[key] = [code, language] output << key output << line - elsif line =~ /^```(\w*)(,\s*options:.*)?$/ # highlighted fences + elsif line =~ /^```([\w+]*)(,\s*options:.*)?$/ # highlighted fences count = 1 language = $1.empty? ? 'text' : $1 options = $2 code = [] while (line = lines.shift) do