{"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":"b318b456ec6c1313130dcb9b0eefd2878a68138b7f5f93e276d585556b2260e9","isBugfix":0.5231,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.7547,"feature":0.0115,"refactor":0.0778,"tests_only":0.0188,"docs_only":0.0065,"dependency":0.0052,"cleanup":0.1255},"confidence":0.5238},"scope":{"score":0.5642,"probabilities":{"0":0.4876,"1":0.4606,"2":0.0518},"confidence":0.1789},"risk":{"score":0.2822,"probabilities":{"0":0.7339,"1":0.2499,"2":0.0162},"confidence":0.4021},"area":{"choice":"framework","probabilities":{"catalog":0.0085,"checkout":0.0065,"customer":0.0051,"admin":0.0229,"graphql_api":0.0048,"framework":0.6099,"frontend":0.3208,"other":0.0215},"confidence":0.4011},"securityRelevant":0.0075,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0089,"2.4.0-p1":0.008,"2.4.1":0.0091,"2.4.1-p1":0.0085,"2.4.2":0.0132,"2.4.2-p1":0.0129,"2.4.2-p2":0.0194,"2.4.3":0.027,"2.4.3-p1":0.0397,"2.4.3-p2":0.0296,"2.4.3-p3":0.0118,"2.4.4":0.035,"2.4.4-p1":0.0431,"2.4.4-p10":0.0088,"2.4.4-p11":0.0125,"2.4.4-p12":0.0099,"2.4.4-p13":0.0082,"2.4.4-p14":0.0119,"2.4.4-p15":0.0076,"2.4.4-p16":0.0077,"2.4.4-p17":0.0078,"2.4.4-p18":0.0065,"2.4.4-p2":0.0051,"2.4.4-p3":0.0064,"2.4.4-p4":0.0067,"2.4.4-p5":0.0077,"2.4.4-p6":0.0074,"2.4.4-p7":0.0069,"2.4.4-p8":0.0067,"2.4.4-p9":0.0067,"2.4.5":0.0131,"2.4.5-p1":0.0118,"2.4.5-p10":0.0056,"2.4.5-p11":0.0083,"2.4.5-p12":0.0073,"2.4.5-p13":0.0069,"2.4.5-p14":0.0064,"2.4.5-p15":0.0052,"2.4.5-p16":0.0044,"2.4.5-p17":0.0054,"2.4.5-p2":0.0036,"2.4.5-p3":0.005,"2.4.5-p4":0.0057,"2.4.5-p5":0.0049,"2.4.5-p6":0.0057,"2.4.5-p7":0.006,"2.4.5-p8":0.0043,"2.4.5-p9":0.0037,"2.4.6":0.0166,"2.4.6-p1":0.0135,"2.4.6-p10":0.006,"2.4.6-p11":0.008,"2.4.6-p12":0.0072,"2.4.6-p13":0.0082,"2.4.6-p14":0.0071,"2.4.6-p15":0.0046,"2.4.6-p2":0.0037,"2.4.6-p3":0.0051,"2.4.6-p4":0.0067,"2.4.6-p5":0.0058,"2.4.6-p6":0.0056,"2.4.6-p7":0.0062,"2.4.6-p8":0.005,"2.4.6-p9":0.0036,"2.4.7":0.0066,"2.4.7-p1":0.0047,"2.4.7-p10":0.0041,"2.4.7-p2":0.0038,"2.4.7-p3":0.0068,"2.4.7-p4":0.0091,"2.4.7-p5":0.0079,"2.4.7-p6":0.0075,"2.4.7-p7":0.0076,"2.4.7-p8":0.0053,"2.4.7-p9":0.0038,"2.4.8":0.0068,"2.4.8-p1":0.0056,"2.4.8-p2":0.007,"2.4.8-p3":0.0085,"2.4.8-p4":0.008,"2.4.8-p5":0.0089,"2.4.9":0.0078,"unspecified":0.2533},"confidence":0.0641},"backportWorthy":{"score":0.3047,"probabilities":{"0":0.7666,"1":0.1621,"2":0.0713},"confidence":0.4286}},"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"}