Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
Prepping for 2.2.0RC1.
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Escaper.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Escaper
*
* @var string
*/
protected $htmlSpecialCharsFlags = \ENT_QUOTES;
protected $htmlSpecialCharsFlags = ENT_QUOTES;

/**
* Static Matcher which escapes characters for HTML Attribute contexts
Expand Down Expand Up @@ -119,7 +119,7 @@ public function __construct($encoding = null)
}

if (defined('ENT_SUBSTITUTE')) {
$this->htmlSpecialCharsFlags|= \ENT_SUBSTITUTE;
$this->htmlSpecialCharsFlags|= ENT_SUBSTITUTE;
}

// set matcher callbacks
Expand Down

0 comments on commit 60a7155

Please sign in to comment.