/home/techb158/dev.balacoffee.com/vendor/league/commonmark/src/Renderer
NameSizeModeActions
Block/-0755rm
Inline/-0755rm
ChildNodeRendererInterface.php7010644editdlrm
DocumentRendererInterface.php6870644editdlrm
HtmlDecorator.php12630644editdlrm
HtmlRenderer.php28690644editdlrm
MarkdownRendererInterface.php7280644editdlrm
NodeRendererInterface.php6620644editdlrm
NoMatchingRendererException.php4210644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/league/commonmark/src/Renderer/HtmlDecorator.php (1263B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace League\CommonMark\Renderer; use League\CommonMark\Node\Node; use League\CommonMark\Util\HtmlElement; final class HtmlDecorator implements NodeRendererInterface { private NodeRendererInterface $inner; private string $tag; /** @var array */ private array $attributes; private bool $selfClosing; /** * @param array $attributes */ public function __construct(NodeRendererInterface $inner, string $tag, array $attributes = [], bool $selfClosing = false) { $this->inner = $inner; $this->tag = $tag; $this->attributes = $attributes; $this->selfClosing = $selfClosing; } /** * {@inheritDoc} */ public function render(Node $node, ChildNodeRendererInterface $childRenderer) { return new HtmlElement($this->tag, $this->attributes, $this->inner->render($node, $childRenderer), $this->selfClosing); } }