uawdijnntqw1x1x1
IP : 216.73.216.46
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
.
/
vendor
/
cebe
/
markdown
/
inline
/
StrikeoutTrait.php
/
/
<?php /** * @copyright Copyright (c) 2014 Carsten Brandt * @license https://github.com/cebe/markdown/blob/master/LICENSE * @link https://github.com/cebe/markdown#readme */ namespace cebe\markdown\inline; /** * Adds strikeout inline elements */ trait StrikeoutTrait { /** * Parses the strikethrough feature. * @marker ~~ */ protected function parseStrike($markdown) { if (preg_match('/^~~(.+?)~~/', $markdown, $matches)) { return [ [ 'strike', $this->parseInline($matches[1]) ], strlen($matches[0]) ]; } return [['text', $markdown[0] . $markdown[1]], 2]; } protected function renderStrike($block) { return '<del>' . $this->renderAbsy($block[1]) . '</del>'; } abstract protected function parseInline($text); abstract protected function renderAbsy($blocks); }
/srv/users/craft4/apps/craft4-newsite-space/./vendor/cebe/markdown/inline/StrikeoutTrait.php