eibiflo / cf_cookiemanager

Simple Typo3 Cookie Manager
GNU General Public License v2.0
10 stars 4 forks source link

Invalid HTML - PHP Dom Document Parser #17

Closed eibiflo closed 5 months ago

eibiflo commented 5 months ago

This Example Code

    <source srcset="{f:uri.image(image: file, fileExtension: 'webp', cropVariant: 'desktop')}" media="(min-width: 2560px)" type="image/webp">
    <source srcset="{f:uri.image(image: file, fileExtension: 'jpg', cropVariant: 'desktop')}" media="(min-width: 2560px)" type="{file.mimeType}">

    <source srcset="{f:uri.image(image: file, maxWidth: '{w2560}', fileExtension: 'webp', cropVariant: 'desktop')}" media="(min-width: 1920px)" type="image/webp">
    <source srcset="{f:uri.image(image: file, maxWidth: '{w2560}', fileExtension: 'jpg', cropVariant: 'desktop')}" media="(min-width: 1920px)" type="{file.mimeType}">

    <source srcset="{f:uri.image(image: file, maxWidth: '{w1920}', fileExtension: 'webp', cropVariant: 'desktop')}" media="(min-width: 1600px)" type="image/webp">
    <source srcset="{f:uri.image(image: file, maxWidth: '{w1920}', fileExtension: 'jpg', cropVariant: 'desktop')}" media="(min-width: 1600px)" type="{file.mimeType}">

Generates Browser HTML: image

But the Raw OutPut looks Invalid:

image

Looks like a Problem with HTML-DomDocument - Need to check