Skip to content

Commit

Permalink
[BUGFIX] Fix the asset paths in single HTMl
Browse files Browse the repository at this point in the history
And add an integration test for single HTML.

It was until now not possible testing it.

There are still open issues with single HTMl, but I would suggest to solve them in follow-ups.

- TYPO3-Documentation/render-guides#238
- TYPO3-Documentation/render-guides#239

Resolves TYPO3-Documentation/render-guides#233
  • Loading branch information
linawolf committed Dec 26, 2023
1 parent 0c66735 commit 2214d11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Renderer/SinglePageRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public function render(RenderCommand $renderCommand): void
$renderCommand->getDestination(),
$renderCommand->getDestinationPath(),
'singlepage',
)->withIterator($renderCommand->getDocumentIterator());
)->withIterator($renderCommand->getDocumentIterator())
->withOutputFilePath('singlehtml/Index.html');

$context->getDestination()->put(
$renderCommand->getDestinationPath() . '/singlehtml/Index.html',
Expand Down

0 comments on commit 2214d11

Please sign in to comment.