uawdijnntqw1x1x1
IP : 216.73.216.28
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
/
phpoption
/
..
/
cebe
/
markdown
/
block
/
RuleTrait.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\block; /** * Adds horizontal rules */ trait RuleTrait { /** * identify a line as a horizontal rule. */ protected function identifyHr($line) { // at least 3 of -, * or _ on one line make a hr return (($l = $line[0]) === ' ' || $l === '-' || $l === '*' || $l === '_') && preg_match('/^ {0,3}([\-\*_])\s*\1\s*\1(\1|\s)*$/', $line); } /** * Consume a horizontal rule */ protected function consumeHr($lines, $current) { return [['hr'], $current]; } /** * Renders a horizontal rule */ protected function renderHr($block) { return $this->html5 ? "<hr>\n" : "<hr />\n"; } }
/srv/users/craft4/apps/craft4-newsite-space/./vendor/phpoption/../cebe/markdown/block/RuleTrait.php