]> BookStack Code Mirror - bookstack/commit
Includes: Updated logic regarding parent block els, added tests
authorDan Brown <redacted>
Sat, 25 Nov 2023 17:32:00 +0000 (17:32 +0000)
committerDan Brown <redacted>
Sat, 25 Nov 2023 17:32:00 +0000 (17:32 +0000)
commit4874dc1304ee26737884d787893743ae323e5cf2
treeda7cd4f9f5990053d933739b282a62e4c63b0860
parentc88eb729a499197e8b3ab9d5019b4426a65d3d41
Includes: Updated logic regarding parent block els, added tests

Expanded tests with many more cases, and added fixes for failed
scenarios.
Updated logic to specifically handling parent <p> tags, and now assume
compatibility with parent block types elswhere to allow use in a
variety of scenarios (td, details, blockquote etc...).
app/Entities/Tools/PageIncludeParser.php
tests/Unit/PageIncludeParserTest.php