Fixed typo in regex for pygments code
This commit is contained in:
parent
845c34cecf
commit
96f80ccfc2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue