Skip to content

Commit a97ba75

Browse files
committed
Don't run stripslashes() on returned text.
1 parent 8bca1f2 commit a97ba75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function createPatternNode($row) {
138138
'dateAdded' => strtotime(stripslashes(idx($row, 'dateAdded')))*1000,
139139
'flavor' => idx($row, 'flavor'),
140140
'expression' => stripslashes(idx($row, 'pattern')),
141-
'text' => stripslashes(idx($row, 'content')),
141+
'text' => idx($row, 'content'),
142142
'tool' => $tool,
143143
'rating' => idx($row, 'rating'),
144144
'userId' => intval(idx($row, 'owner')),

0 commit comments

Comments
 (0)