Skip to content

Commit

Permalink
update scrub_out
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed Oct 15, 2021
1 parent f8af882 commit 59c442e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Config/functions.php
Expand Up @@ -101,7 +101,7 @@ function scrub_out($string)
return '';
}

return htmlentities((string) $string, ENT_NOQUOTES, AmpConfig::get('site_charset'));
return htmlentities((string) $string, ENT_QUOTES, AmpConfig::get('site_charset'));
} // scrub_out

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Module/Util/Ui.php
Expand Up @@ -677,7 +677,7 @@ public function scrubOut(?string $string): string
return '';
}

return htmlentities((string) $string, ENT_NOQUOTES, AmpConfig::get('site_charset'));
return htmlentities((string) $string, ENT_QUOTES, AmpConfig::get('site_charset'));
}

/**
Expand Down

0 comments on commit 59c442e

Please sign in to comment.