mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Add newsletter management functionality
This commit is contained in:
parent
90ee0a93c9
commit
b0197d189a
57 changed files with 1017 additions and 143 deletions
|
@ -32,7 +32,7 @@ class Formatter{
|
|||
return $text;
|
||||
}
|
||||
|
||||
public static function ToPlainText(string $text): string{
|
||||
public static function ToPlainText(?string $text): string{
|
||||
return htmlspecialchars(trim($text), ENT_QUOTES, 'UTF-8');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue