]> BookStack Code Mirror - bookstack/commit
Includes: Added block-level handling to new include system
authorDan Brown <redacted>
Fri, 24 Nov 2023 23:39:16 +0000 (23:39 +0000)
committerDan Brown <redacted>
Fri, 24 Nov 2023 23:39:16 +0000 (23:39 +0000)
commitc88eb729a499197e8b3ab9d5019b4426a65d3d41
treef27067bd93856e1b1f04b5b8bf219ca662ef666d
parent75936454cca139d0b226a95ee7a0070bc8702fdc
Includes: Added block-level handling to new include system

Implements block promoting to body (including position choosing based
upon likely tag position within parent) and block splitting where we're
only a single depth down from the body child.
app/Entities/Tools/PageIncludeParser.php
app/Util/HtmlDocument.php
tests/Unit/PageIncludeParserTest.php