We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c0725 commit 01daab5Copy full SHA for 01daab5
1 file changed
src/Markdown/MarkupLanguageParser.php
@@ -65,6 +65,7 @@ public function parse(ParserContext $parserContext, string $contents): DocumentN
65
private function parseDocument(NodeWalker $walker, string $hash): DocumentNode
66
{
67
$document = new DocumentNode($hash, ltrim($this->getParserContext()->getCurrentAbsolutePath(), '/'));
68
+ $document->setOrphan(true);
69
$this->document = $document;
70
71
while ($event = $walker->next()) {
0 commit comments