From 3d4e254eda762bc703a365fb81e6bd49a5686a58 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Mon, 28 Sep 2026 22:24:59 +0200 Subject: [PATCH] Fix --- src/NodaValidationHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NodaValidationHelper.php b/src/NodaValidationHelper.php index 8a090d9..8807071 100644 --- a/src/NodaValidationHelper.php +++ b/src/NodaValidationHelper.php @@ -40,7 +40,7 @@ final class NodaValidationHelper { } // Ensure the description is not just a copy-pasted version of the tag name. - if (empty(trim(str_replace($description, $name, ''), "#,.;:\t " . PHP_EOL))) { + if (empty(trim(str_replace($name, '', $description), "#,.;:\t " . PHP_EOL))) { throw new MDgenericInvalidInputsException("The tag description cannot be simply a fancy copy of the tag's name. Please define it."); }