Titles in code plugins can have slashes in them. Closes #892
This commit is contained in:
parent
48d3e75ff5
commit
c18de55875
3 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ require './plugins/pygments_code'
|
|||
|
||||
module BacktickCodeBlock
|
||||
include HighlightCode
|
||||
AllOptions = /([^\s]+)\s+(.+?)(https?:\/\/\S+|\/\S+)\s*(.+)?/i
|
||||
AllOptions = /([^\s]+)\s+(.+?)\s+(https?:\/\/\S+|\/\S+)\s*(.+)?/i
|
||||
LangCaption = /([^\s]+)\s*(.+)?/i
|
||||
def render_code_block(input)
|
||||
@options = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue