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

Add set_tag_attribute_values option #16

Merged
merged 1 commit into from
May 31, 2023
Merged

Add set_tag_attribute_values option #16

merged 1 commit into from
May 31, 2023

Conversation

monosans
Copy link
Contributor

@messense
Copy link
Owner

What's the difference with tag_attribute_values? I'm not sure, could you elaborate?

@monosans
Copy link
Contributor Author

tag_attribute_values only allows values without forcibly setting them.
set_tag_attribute_values forcibly sets the values. For example, you can use it to add the loading="lazy" attribute to all <img>.

@messense messense merged commit 58fc587 into messense:main May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants