diff --git a/layouts/partials/textprocessing.html b/layouts/partials/textprocessing.html
index 7f29028..7b82f32 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}}