/home/techb158/dev.balacoffee.com/vendor/league/commonmark/src/Util
NameSizeModeActions
ArrayCollection.php34760644editdlrm
Html5EntityDecoder.php18150644editdlrm
HtmlElement.php41400644editdlrm
HtmlFilter.php14680644editdlrm
LinkParserHelper.php40100644editdlrm
PrioritizedList.php16410644editdlrm
RegexHelper.php102600644editdlrm
SpecReader.php21760644editdlrm
UrlEncoder.php26190644editdlrm
Xml.php7380644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/league/commonmark/src/Util/Xml.php (738B)
* * Original code based on the CommonMark JS reference parser (https://bitly.com/commonmark-js) * - (c) John MacFarlane * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace League\CommonMark\Util; /** * Utility class for handling/generating XML and HTML * * @psalm-immutable */ final class Xml { /** * @psalm-pure */ public static function escape(string $string): string { return \str_replace(['&', '<', '>', '"'], ['&', '<', '>', '"'], $string); } }