aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsuzuri2
1 files changed, 1 insertions, 1 deletions
diff --git a/suzuri b/suzuri
index ff95906..0b63642 100755
--- a/suzuri
+++ b/suzuri
@@ -43,7 +43,7 @@ if [[ -n "${SUZURI_REVERSE}" ]]; then
fi
if [[ -n "${SUZURI_MINIMAL}" ]]; then
- body="$(echo "${body}" | grep "##" | sed "s/##//" || true)"
+ body="$(echo "${body}" | grep -oP '^##\K.*' | sed "s/##//" || true)"
fi
if [[ -n "${SUZURI_RAW}" ]]; then