{"data":{"id":"magento2-32919","source":"github-pr","sourceRef":"magento/magento2#32919","title":"[View] Removed extra space in link and script tag","pr":{"number":32919,"url":"https://github.com/magento/magento2/pull/32919","author":"srsathish92","mergedAt":"2024-05-28T15:06:33Z","mergeCommit":"a6f93245e279eff2569c272a7991de7b6c2b3cc6","headCommit":"c03b74a07afe7748243c071dc812279fbda21044","baseRef":"2.4-develop","diffSha256":"7298e66032fb621e04cbed9891ce063607d577abd85e6300d284ed9c91be8f9d"},"issues":[{"number":32920,"url":"https://github.com/magento/magento2/issues/32920","title":"[Issue] [View] Removed extra space in link and script tag","labels":["Area: Framework","Component: Backend","Component: View","Issue: Confirmed","Issue: ready for confirmation","Priority: P4","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x","Severity: S4"],"kind":"pr-derived"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10"],"components":["magento/framework"],"files":[{"path":"lib/internal/Magento/Framework/View/Page/Config/Renderer.php","change":"modified","package":"magento/framework"}],"stripped":{"tests":["lib/internal/Magento/Framework/View/Test/Unit/Page/Config/RendererTest.php"],"docs":[],"outsideCode":[]},"linesChanged":4,"mergeBatched":false,"excluded":null,"sections":{"description":"This PR helps to change extra spaces into single space in `<link>` and `<script>` tag.","stepsToReproduce":"1. `./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist lib/internal/Magento/Framework/View/Test/Unit/Page/Config/RendererTest.php`\n2. Open the store and see `<link>` and `<script>` tag using view source code.\n3. `<link>` and `<script>` should be without double spaces between attributes.\n\n**Actual Result:**\n![w_extraspace](https://user-images.githubusercontent.com/18184256/116742365-e13ef700-aa14-11eb-8c62-2df3548fa4fc.png)\n\n**Excepted Result:**\n![wo_extraspace](https://user-images.githubusercontent.com/18184256/116742657-485cab80-aa15-11eb-8396-005a36c80236.png)","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Framework"],"component":["Backend","View"],"priority":"P4","severity":"S4","reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"2953202a4e8b470879f19f561c0ea4fe434581b32fc98089d48357c4e059e39a","isBugfix":0.6418,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8798,"feature":0.0098,"refactor":0.0825,"tests_only":0.0174,"docs_only":0.0055,"dependency":0.005},"confidence":0.7375},"scope":{"score":0.5778,"probabilities":{"0":0.4724,"1":0.4774,"2":0.0502},"confidence":0.1804},"risk":{"score":0.274,"probabilities":{"0":0.7409,"1":0.2442,"2":0.0149},"confidence":0.4132},"area":{"choice":"framework","probabilities":{"catalog":0.0083,"checkout":0.0062,"customer":0.0048,"admin":0.0221,"graphql_api":0.0045,"framework":0.6172,"frontend":0.3168,"other":0.0201},"confidence":0.4084},"securityRelevant":0.0078,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0097,"2.4.0-p1":0.0075,"2.4.1":0.0098,"2.4.1-p1":0.0103,"2.4.2":0.0133,"2.4.2-p1":0.0178,"2.4.2-p2":0.0193,"2.4.3":0.0316,"2.4.3-p1":0.0487,"2.4.3-p2":0.028,"2.4.3-p3":0.0111,"2.4.4":0.0332,"2.4.4-p1":0.0384,"2.4.4-p10":0.0079,"2.4.4-p11":0.0107,"2.4.4-p12":0.0081,"2.4.4-p13":0.0071,"2.4.4-p14":0.0108,"2.4.4-p15":0.0067,"2.4.4-p16":0.0067,"2.4.4-p17":0.0066,"2.4.4-p18":0.006,"2.4.4-p2":0.0045,"2.4.4-p3":0.0055,"2.4.4-p4":0.0062,"2.4.4-p5":0.007,"2.4.4-p6":0.0066,"2.4.4-p7":0.0063,"2.4.4-p8":0.006,"2.4.4-p9":0.0056,"2.4.5":0.0131,"2.4.5-p1":0.0121,"2.4.5-p10":0.0055,"2.4.5-p11":0.009,"2.4.5-p12":0.007,"2.4.5-p13":0.0074,"2.4.5-p14":0.0065,"2.4.5-p15":0.0067,"2.4.5-p16":0.0049,"2.4.5-p17":0.0052,"2.4.5-p2":0.0037,"2.4.5-p3":0.0052,"2.4.5-p4":0.0057,"2.4.5-p5":0.0048,"2.4.5-p6":0.0054,"2.4.5-p7":0.0056,"2.4.5-p8":0.0043,"2.4.5-p9":0.0038,"2.4.6":0.0174,"2.4.6-p1":0.0129,"2.4.6-p10":0.0056,"2.4.6-p11":0.0074,"2.4.6-p12":0.0087,"2.4.6-p13":0.0083,"2.4.6-p14":0.0067,"2.4.6-p15":0.0061,"2.4.6-p2":0.0037,"2.4.6-p3":0.0054,"2.4.6-p4":0.0073,"2.4.6-p5":0.0062,"2.4.6-p6":0.0059,"2.4.6-p7":0.0063,"2.4.6-p8":0.005,"2.4.6-p9":0.0036,"2.4.7":0.0073,"2.4.7-p1":0.0052,"2.4.7-p10":0.0044,"2.4.7-p2":0.004,"2.4.7-p3":0.0078,"2.4.7-p4":0.0088,"2.4.7-p5":0.0075,"2.4.7-p6":0.0076,"2.4.7-p7":0.0075,"2.4.7-p8":0.0059,"2.4.7-p9":0.0042,"2.4.8":0.0066,"2.4.8-p1":0.006,"2.4.8-p2":0.0073,"2.4.8-p3":0.0084,"2.4.8-p4":0.0082,"2.4.8-p5":0.0088,"2.4.9":0.0075,"unspecified":0.2476},"confidence":0.0617},"backportWorthy":{"score":0.2969,"probabilities":{"0":0.7762,"1":0.1508,"2":0.073},"confidence":0.4457}},"curated":{"title":"Removes double spaces between attributes in link and script tags","description":"The <link> and <script> tags have double spaces between attributes when you open the store and view source code. Framework View Page Config Renderer.php now changes extra spaces into single space in both tags.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.7-p10":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T09:29:05.349Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"unit":{"before":"fail","after":"pass","runAt":"2026-10-06T09:29:05.349Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-32919 details"}