public function TokenizerEscaping::escapeUnicodeAndNewLine in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Parser/Tokenizer/TokenizerEscaping.php \Symfony\Component\CssSelector\Parser\Tokenizer\TokenizerEscaping::escapeUnicodeAndNewLine()
Parameters
string $value:
Return value
string
File
- vendor/
symfony/ css-selector/ Parser/ Tokenizer/ TokenizerEscaping.php, line 54
Class
- TokenizerEscaping
- CSS selector tokenizer escaping applier.
Namespace
Symfony\Component\CssSelector\Parser\TokenizerCode
public function escapeUnicodeAndNewLine($value) {
$value = preg_replace($this->patterns
->getNewLineEscapePattern(), '', $value);
return $this
->escapeUnicode($value);
}