From b7330a5a6e0401494d5df0471e20c2a4bd62472d Mon Sep 17 00:00:00 2001 From: Saskia Hiltemann Date: Fri, 10 May 2024 13:13:35 +0200 Subject: [PATCH] ruby formatting --- _plugins/jekyll-mathjax.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_plugins/jekyll-mathjax.rb b/_plugins/jekyll-mathjax.rb index 1130d1b0832434..748e348f1ddebe 100644 --- a/_plugins/jekyll-mathjax.rb +++ b/_plugins/jekyll-mathjax.rb @@ -9,7 +9,7 @@ # both in inline mode \\( .. \\) and block mode $$ ..$$ if page.content page.content = page.content.gsub(/\$\$(.*?)\$\$/) { |m| m.gsub('_', '\\\\_') } - page.content = page.content.gsub(/\\\\\((.*?)\\\\\)/) { |m| m.gsub('_','\\\\_') } + page.content = page.content.gsub(/\\\\\((.*?)\\\\\)/) { |m| m.gsub('_', '\\\\_') } end end