Permalink
Browse files

fix an issue with Reformat Document. Fix suggested by allan on #textm…

…ate.
  • Loading branch information...
1 parent 42ff000 commit ffd5e926f1bcd8d1c6514e81756a7db8ccbe6c38 Robert Newson committed with subtleGradient Aug 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Reformat Document : Selection.tmCommand
@@ -29,7 +29,7 @@ $selectedText = getenv('TM_SELECTED_TEXT');
require "{$bundleSupportDir}/lib/beautify.php";
if (!empty($selectedText)) {
- $input = get_magic_quotes_gpc() ? stripslashes($selectedText) : $selectedText;
+ $input = $selectedText;
} else {
$input = file_get_contents('php://stdin');
}

0 comments on commit ffd5e92

Please sign in to comment.