-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DependencyInjection] Do not ignore tags name
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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
to
e682868
Compare
name
attribute ignored if the tag’s name is its node contentname
attribute when it does not define their name
Thanks; Can you add a test case please? |
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 :)
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 :) |
Thanks for testing on a real project @PhilETaylor! Will look at this sponsorship thing 👀 |
…s not define their name
5a88934
to
4c9c688
Compare
Thank you @MatTheCat. |
Tags
name
attribute is ignored using XML if the tag name is its node content. That means<tag name="name_attribute">tag_name</tag>
will return atag_name
tag without any attribute.This seems to be a regression from #36586.