diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2016-12-05 22:01:57 +1100 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2016-12-05 22:01:57 +1100 |
commit | 5f79069a372e6e817c9989160b6f533ccf92b5a5 (patch) | |
tree | 74d0f37c0240e22548bc18cf3aa3f0b0089d6120 /src/Utils | |
parent | fa440b9d416fab73688ff259dbb097e34d1c1fa3 (diff) | |
download | sql-parser-5f79069a372e6e817c9989160b6f533ccf92b5a5.zip sql-parser-5f79069a372e6e817c9989160b6f533ccf92b5a5.tar.gz sql-parser-5f79069a372e6e817c9989160b6f533ccf92b5a5.tar.bz2 |
Fix return value of Formatter.toString() when type is text
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'src/Utils')
-rw-r--r-- | src/Utils/Formatter.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Utils/Formatter.php b/src/Utils/Formatter.php index bcf5486..1d19440 100644 --- a/src/Utils/Formatter.php +++ b/src/Utils/Formatter.php @@ -487,6 +487,7 @@ class Formatter } elseif ($this->options['type'] === 'html') { return htmlspecialchars($text, ENT_NOQUOTES); } + return $text; } /** |