From 67de6dab754ff6df7547228e1ecb9b10f33669cc Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 6 Jul 2026 17:35:58 -0500 Subject: [PATCH] feat: add output escaping helpers --- src/Http/Escape.php | 27 ++++++++++++++ tests/Unit/Http/EscapeTest.php | 64 ++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 src/Http/Escape.php create mode 100644 tests/Unit/Http/EscapeTest.php diff --git a/src/Http/Escape.php b/src/Http/Escape.php new file mode 100644 index 0000000..69ea427 --- /dev/null +++ b/src/Http/Escape.php @@ -0,0 +1,27 @@ + + */ + public static function htmlProvider(): iterable + { + yield 'plain' => ['hello', 'hello']; + yield 'less-than' => ['