Skip to content
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

Fix wrong reference that was causing #16336 #16338

Closed
wants to merge 2 commits into from
Closed

Conversation

moqmar
Copy link
Contributor

@moqmar moqmar commented Jul 4, 2021

node.Attr[idx].Val is not the same as attr.Val, the latter is an independent object that won't change anything in the document. This fixes #16336, the issue was introduced in #16118.

node.Attr[idx].Val is not the same as attr.Val, the latter is an independent object that won't change anything in the document
@moqmar
Copy link
Contributor Author

moqmar commented Jul 4, 2021

Disclaimer: I have no idea what issue the second change that I made might fix, or which new issues it might introduce.

The code was last updated in zeripath@55c3e48, and originally introduced in zeripath@9de1eb0. Maybe @zeripath knows if that was intentional?

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 4, 2021
@6543
Copy link
Member

6543 commented Jul 4, 2021

I think #16340 just do it

@6543
Copy link
Member

6543 commented Jul 4, 2021

@moqmar thanks for digging into and the pull. Since it's already fixed an CI on your pull fail. ill close it. Feel free to reopen if you think there is more to look at

@6543 6543 closed this Jul 4, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Relative paths in Markdown <img> tags not working
3 participants