Skip to content

Multi-line comments in head.html break local updates #2485

@dylandepass

Description

@dylandepass

Description
Multi-line comments in head.html break local updates

To Reproduce
Steps to reproduce the behavior:

  1. Add a multi-line comment to the head.html
    ex
<!--
  Domain Verification for Adobe Commerce Security Scan
  https://experienceleague.adobe.com/en/docs/commerce-admin/systems/security/security-scan
-->
  1. Check it in
  2. run aem up
  3. make an update to head.html locally, notice it doesn't update

Expected behavior
It should update

Additional context
I wasn't able to reproduce with a single line comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions