diff --git a/layouts/partials/textprocessing.html b/layouts/partials/textprocessing.html index 7f290288..7b82f322 100644 --- a/layouts/partials/textprocessing.html +++ b/layouts/partials/textprocessing.html @@ -113,7 +113,7 @@ {{end}} {{/* Make ==text== into text */}} -{{$mark := findRE "(?Us)==([^\\$]+)==" $content}} +{{$mark := findRE "==([^=\n]+)==" $content}} {{range $mark}} {{$fixed := printf "%s" (replace . "==" "")}} {{$content = replace $content . $fixed}}