summaryrefslogtreecommitdiff
path: root/src/ste/Misc.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/Misc.php')
-rw-r--r--src/ste/Misc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ste/Misc.php b/src/ste/Misc.php
index 39ad30c..d017ee3 100644
--- a/src/ste/Misc.php
+++ b/src/ste/Misc.php
@@ -2,8 +2,10 @@
namespace kch42\ste;
-class Misc {
- public static function escape_text($text) {
+class Misc
+{
+ public static function escape_text($text)
+ {
return addcslashes($text, "\r\n\t\$\0..\x1f\\\"\x7f..\xff");
}
}