Issue Bug Resolved

#110785Title and meta tags are lost for HTML without a body tag

Benni Mack 09/25/26, 01:13 updated 09/25/26, 15:40

Description

splitHTMLContent() computes the head with substr($content, 0, -strlen($body)). Without <body> that is -0, so the head part is empty.</body>

Reviews 2

History 14

  1. Gerrit Code Review pushed patch set 1 for main to change 96053 status New Under Review 09/25/26, 01:45

  2. Gerrit Code Review pushed patch set 2 for main to change 96053 09/25/26, 01:46

  3. Gerrit Code Review pushed patch set 1 for 14.3 to change 96078 09/25/26, 15:38

  4. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % 09/25/26, 15:40

    Applied in changeset commit:a262a858117a3a01d0842dc00744432743069918.