Skip to content

Commit

Permalink
TASK: Cleanup HTML test output
Browse files Browse the repository at this point in the history
Instead of replacing the HTML with a JSON response, a clean html output
without header and unnecessary linebreaks will improve the readability
in error case a lot.

Related: #12
  • Loading branch information
d-g-codappix committed Apr 3, 2024
1 parent 14ad109 commit b5bea64
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
page = PAGE
page.10 < styles.content.get
page {
10 < styles.content.get

config {
disableAllHeaderCode = 1
admPanel = 0
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<f:if condition="{image}">
<f:for each="{image.sizes}" as="size" iteration="sizeIterator">
{size.breakpoint.cropVariant} {size.size} {size.breakpoint.mediaQuery}
</f:for>
</f:if>

<f:spaceless>
<f:if condition="{image}"><f:for each="{image.sizes}" as="size" iteration="sizeIterator">{size.breakpoint.cropVariant} {size.size} {size.breakpoint.mediaQuery}
</f:for></f:if>
</f:spaceless>
</html>
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<f:for each="{responsiveImages}" as="image">
<f:render partial="Media/Image" arguments="{image: image}"/>
</f:for>

<f:spaceless>
<f:for each="{responsiveImages}" as="image"><f:render partial="Media/Image" arguments="{image: image}"/></f:for>
</f:spaceless>
</html>

0 comments on commit b5bea64

Please sign in to comment.