htmlspecialchars

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Convert special characters to HTML entities
<?php htmlspecialchars(    string $string,    int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401,    ?string $encoding = null,    bool $double_encode = true): string
<?php ?>



<div class="my-1">

    <span class="ml-2 px-1 bg-<?php echo $bgBadgeColor ?> font-bold"><?php echo htmlspecialchars($bgBadgeText) ?></span>

    <span class="ml-1">

        <?php echo htmlspecialchars($content) ?>

    </span>
<?php <div class="my-1">

    <span class="ml-2 px-1 bg-<?php echo $bgBadgeColor ?> font-bold"><?php echo htmlspecialchars($bgBadgeText) ?></span>

    <span class="ml-1">

        <?php echo htmlspecialchars($content) ?>

    </span>

</div>
<?php <div class="flex mx-2 max-w-150">

    <span>

        <?php echo htmlspecialchars($left) ?>

    </span>

    <span class="flex-1 content-repeat-[.] text-gray ml-1"></span>

    <?php if ($right !== '') { ?>
<?php     <span class="flex-1 content-repeat-[.] text-gray ml-1"></span>

    <?php if ($right !== '') { ?>

        <span class="ml-1 text-gray">

            <?php echo htmlspecialchars($right) ?>

        </span>

    <?php } ?>

</div>
<?php <div class="mx-2">

    <span class="text-yellow font-bold">USAGE:</span><span class="ml-1">pest</span><span class="ml-1 text-gray"><?php echo htmlspecialchars('<file>') ?> [options]</span>

</div>
<?php <div class="my-1 mx-2">

    <span>Pest Testing Framework</span><span class="ml-1 text-blue font-bold"><?php echo htmlspecialchars($version) ?></span><span>.</span>

</div>
<?php         $method = TestSuite::getInstance()->tests->get(self::$__filename)->getMethod($this->name());



        $description = $this->dataName() ? $method->description.' with '.$this->dataName() : $method->description;

        $description = htmlspecialchars(html_entity_decode($description), ENT_NOQUOTES);



        if ($method->repetitions > 1) {

            $matches = [];