Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.14.152.212
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
league /
commonmark /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Block
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Delimiter
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Event
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Exception
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Extension
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Inline
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Input
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Node
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Normalizer
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Reference
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Util
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
CommonMarkConverter.php
1.62
KB
-rw-r--r--
2020-11-17 16:24
ConfigurableEnvironmentInterface.php
4.08
KB
-rw-r--r--
2020-11-17 16:24
Context.php
4.01
KB
-rw-r--r--
2020-11-17 16:24
ContextInterface.php
2
KB
-rw-r--r--
2020-11-17 16:24
Converter.php
2
KB
-rw-r--r--
2020-11-17 16:24
ConverterInterface.php
533
B
-rw-r--r--
2020-11-17 16:24
Cursor.php
12.9
KB
-rw-r--r--
2020-11-17 16:24
DocParser.php
7
KB
-rw-r--r--
2020-11-17 16:24
DocParserInterface.php
523
B
-rw-r--r--
2020-11-17 16:24
ElementRendererInterface.php
1.5
KB
-rw-r--r--
2020-11-17 16:24
Environment.php
12.82
KB
-rw-r--r--
2020-11-17 16:24
EnvironmentAwareInterface.php
478
B
-rw-r--r--
2020-11-17 16:24
EnvironmentInterface.php
2.16
KB
-rw-r--r--
2020-11-17 16:24
GithubFlavoredMarkdownConverter.php
845
B
-rw-r--r--
2020-11-17 16:24
HtmlElement.php
3.45
KB
-rw-r--r--
2020-11-17 16:24
HtmlRenderer.php
3.32
KB
-rw-r--r--
2020-11-17 16:24
InlineParserContext.php
1.58
KB
-rw-r--r--
2020-11-17 16:24
InlineParserEngine.php
6.72
KB
-rw-r--r--
2020-11-17 16:24
MarkdownConverterInterface.php
627
B
-rw-r--r--
2020-11-17 16:24
UnmatchedBlockCloser.php
1.86
KB
-rw-r--r--
2020-11-17 16:24
Save
Rename
<?php /* * This file is part of the league/commonmark package. * * (c) Colin O'Dell <colinodell@gmail.com> * * 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; use League\CommonMark\Util\Xml; class HtmlElement { /** * @var string */ protected $tagName; /** * @var string[] */ protected $attributes = []; /** * @var HtmlElement|HtmlElement[]|string */ protected $contents; /** * @var bool */ protected $selfClosing = false; /** * @param string $tagName Name of the HTML tag * @param string[] $attributes Array of attributes (values should be unescaped) * @param HtmlElement|HtmlElement[]|string|null $contents Inner contents, pre-escaped if needed * @param bool $selfClosing Whether the tag is self-closing */ public function __construct(string $tagName, array $attributes = [], $contents = '', bool $selfClosing = false) { $this->tagName = $tagName; $this->attributes = $attributes; $this->selfClosing = $selfClosing; $this->setContents($contents ?? ''); } public function getTagName(): string { return $this->tagName; } /** * @return string[] */ public function getAllAttributes(): array { return $this->attributes; } public function getAttribute(string $key): ?string { if (!isset($this->attributes[$key])) { return null; } return $this->attributes[$key]; } public function setAttribute(string $key, string $value): self { $this->attributes[$key] = $value; return $this; } /** * @param bool $asString * * @return HtmlElement|HtmlElement[]|string */ public function getContents(bool $asString = true) { if (!$asString) { return $this->contents; } return $this->getContentsAsString(); } /** * Sets the inner contents of the tag (must be pre-escaped if needed) * * @param HtmlElement|HtmlElement[]|string $contents * * @return $this */ public function setContents($contents): self { $this->contents = $contents ?? ''; return $this; } public function __toString(): string { $result = '<' . $this->tagName; foreach ($this->attributes as $key => $value) { $result .= ' ' . $key . '="' . Xml::escape($value) . '"'; } if ($this->contents !== '') { $result .= '>' . $this->getContentsAsString() . '</' . $this->tagName . '>'; } elseif ($this->selfClosing && $this->tagName === 'input') { $result .= '>'; } elseif ($this->selfClosing) { $result .= ' />'; } else { $result .= '></' . $this->tagName . '>'; } return $result; } private function getContentsAsString(): string { if (\is_string($this->contents)) { return $this->contents; } if (\is_array($this->contents)) { return \implode('', $this->contents); } return (string) $this->contents; } }