Fixed typo in regex for pygments code

This commit is contained in:
Brandon Mathis 2013-04-09 12:11:50 -05:00
parent 845c34cecf
commit 96f80ccfc2
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ module HighlightCode
end
def parse_markup (input)
lang = input.match(/\s*lang:([\S+)/i)
lang = input.match(/\s*lang:(\S+)/i)
title = input.match(/\s*title:\s*(("(.+?)")|('(.+?)')|(\S+))/i)
linenos = input.match(/\s*linenos:(\w+)/i)
escape = input.match(/\s*escape:(\w+)/i)