diff --git a/document.rb b/document.rb index c5b2e86..8c89a77 100644 --- a/document.rb +++ b/document.rb @@ -200,7 +200,7 @@ module RBMark # Inline preformatted text class InlinePre < DOMObject - self.begin = /`(?!`)/ + self.begin = /(? { "extra_newlines" => true + }, + "RBMark::DOM::IndentBlock" => { + "indent" => true } }.freeze