From 267256cbb8b9632a4917634c5cb88785ac59cf2f Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Sun, 11 Nov 2018 18:31:58 +0000 Subject: [PATCH] Fix typos --- src/Html/Renderables/Text.php | 2 +- src/Html/Sanitisation/CharacterFilter.php | 2 +- src/Html/Sanitisation/Escaper.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Html/Renderables/Text.php b/src/Html/Renderables/Text.php index f1a4410..4389d7f 100644 --- a/src/Html/Renderables/Text.php +++ b/src/Html/Renderables/Text.php @@ -18,6 +18,6 @@ final class Text implements Renderable public function getHtml(): string { - return Escaper::htmlElementValue($text); + return Escaper::htmlElementValue($this->text); } } diff --git a/src/Html/Sanitisation/CharacterFilter.php b/src/Html/Sanitisation/CharacterFilter.php index 441bbb7..033e606 100644 --- a/src/Html/Sanitisation/CharacterFilter.php +++ b/src/Html/Sanitisation/CharacterFilter.php @@ -1,6 +1,6 @@