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

De-duplicate list attribute values #39

Closed
stevenvachon opened this issue Dec 16, 2016 · 2 comments
Closed

De-duplicate list attribute values #39

stevenvachon opened this issue Dec 16, 2016 · 2 comments

Comments

@stevenvachon
Copy link

stevenvachon commented Dec 16, 2016

such as class, ping and rel.

<a class="class1   class2 class2" ping="http://domain1.com, http://domain2.com" rel="me me   external">

would compile to:

<a class="class1 class2" ping="http://domain1.com,http://domain2.com" rel="me external">

These would be handy: list-to-array, dupe

If we wanted to de-dupe URL lists (such as ping), we could use url-relation.

@maltsev maltsev changed the title Minify list attribute values De-duplicate list attribute values Sep 13, 2018
@maltsev
Copy link
Member

maltsev commented Sep 14, 2018

For now I only implemented class, rel, and ping minification as deduplicateAttributeValues module. I'm going to release it in version 0.2.0.

@maltsev maltsev closed this as completed Sep 14, 2018
@maltsev
Copy link
Member

maltsev commented Sep 14, 2018

Released: 0.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants