Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection] Do not ignore tagsname attribute when it does not define their name#50088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedApr 21, 2023
Hey! To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done? Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review. Cheers! Carsonbot |
f506d77 toe682868Comparename attribute ignored if the tag’s name is its node contentname attribute when it does not define their namenicolas-grekas commentedApr 21, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thanks; Can you add a test case please? |
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
nvm, there are test cases already :)
PhilETaylor commentedApr 21, 2023
I have taken these proposed changes to Then, after a cache:clear, this problem has been resolved. So I confirm this PR fixes my original issue, in the original app that was complaining. Thanks@MatTheCat - please consider signing up to GitHub Sponsors :) |
MatTheCat commentedApr 21, 2023
Thanks for testing on a real project@PhilETaylor! Will look at this sponsorship thing 👀 |
…s not define their name
5a88934 to4c9c688Comparenicolas-grekas commentedApr 21, 2023
Thank you@MatTheCat. |
Uh oh!
There was an error while loading.Please reload this page.
Tags
nameattribute is ignored using XML if the tag name is its node content. That means<tag name="name_attribute">tag_name</tag>will return atag_nametag without any attribute.This seems to be a regression from#36586.