Skip to content

[Issue] [View] Removed extra space in link and script tag #32920

@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #32919: [View] Removed extra space in link and script tag


Description (*)

This PR helps to change extra spaces into single space in <link> and <script> tag.

Fixed Issues (if relevant)

N/A

Manual testing scenarios (*)

  1. ./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist lib/internal/Magento/Framework/View/Test/Unit/Page/Config/RendererTest.php
  2. Open the store and see <link> and <script> tag using view source code.
  3. <link> and <script> should be without double spaces between attributes.

Actual Result:
w_extraspace

Excepted Result:
wo_extraspace

Questions or comments

Please let me your suggestions if any

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Area: FrameworkComponent: BackendComponent: ViewIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: ready for confirmationPriority: P4No current plan to fix. Fixing can be deferred as a logical part of more important work.Progress: doneReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S4Affects aesthetics, professional look and feel, “quality” or “usability”.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions