Skip to content

Commit

Permalink
Refuse
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Cassani committed Jun 15, 2021
1 parent be92327 commit c53ff9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/Commons/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

class Constants {

const ENCODED_LTPLACEHOLDER = "##ENCODED_LESSTHAN##";
const ENCODED_GTPLACEHOLDER = "##ENCODED_GREATERTHAN##";

const LTPLACEHOLDER = "##LESSTHAN##";
const GTPLACEHOLDER = "##GREATERTHAN##";
const AMPPLACEHOLDER = "##AMPPLACEHOLDER##";
Expand Down
2 changes: 0 additions & 2 deletions src/Filters/LtGtEncode.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ public function transform( $segment ) {
// restore < e >
$segment = str_replace("<", "&lt;", $segment);
$segment = str_replace(">", "&gt;", $segment);
$segment = str_replace(Constants::ENCODED_LTPLACEHOLDER,"&lt;", $segment);
$segment = str_replace(Constants::ENCODED_GTPLACEHOLDER, "&gt;", $segment);

return $segment;
}
Expand Down

0 comments on commit c53ff9d

Please sign in to comment.