class Jekyll::Spaceship::PolyfillProcessor
Public Instance Methods
on_handle_markdown(content)
click to toggle source
# File lib/jekyll-spaceship/processors/polyfill-processor.rb, line 7 def on_handle_markdown(content) # escape ordered list. rexp = /(\s*)(?<!\\)\\(?=\d+\.)/ self.handled = true if content.match(rexp) content.gsub(rexp, '\1⁣') end