From a3a1cc2b884bd3c9ec0ef9f9580af8526fcc61b5 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Fri, 3 Jul 2020 12:46:15 +0800 Subject: [PATCH] fix: math expression within pipline broken (#14) --- lib/jekyll-spaceship/cores/processor.rb | 2 +- lib/jekyll-spaceship/processors/table-processor.rb | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/jekyll-spaceship/cores/processor.rb b/lib/jekyll-spaceship/cores/processor.rb index 9dc7719..7e5dbaa 100644 --- a/lib/jekyll-spaceship/cores/processor.rb +++ b/lib/jekyll-spaceship/cores/processor.rb @@ -158,7 +158,7 @@ module Jekyll::Spaceship if type == :code regex = /((`+)\s*(\w*)((?:.|\n)*?)\2)/ elsif type == :math - regex = /(?<=^|\n)[^\n\|]*(((?