Commit graph

5 commits

Author SHA1 Message Date
Álvaro Mondéjar f726999af2
Unify SVGs for HTML safe titles reporting encoding errors in linting (#6522)
* Basic implementation

* Fix error

* Update icons

* Tweak implementation

* Minor changes

* Apply suggested changes

* Don't encode 34 and 39 codepoints (double and single quotes)

* Fix comments
2021-10-02 16:46:07 +02:00
Peter Noble 521c96fd04
Remove "icon" suffix from SVG titles (#5616) 2021-05-26 22:20:20 +02:00
Peter Noble dfd6b07312
Update AlloCiné (#5162)
* Update AlloCiné

* Fix AlloCiné path
2021-03-05 08:44:49 -05:00
Eric Cornelissen 287317b7b6 Lint the SVG's title content (#1508)
* Add custom SVGLint rule to lint the general <title> format

i.e. the <title> should be "[ICON_NAME] icon"

* Check if there exists an entry in simple-icons.json with the icon name

... found in the <title>

* Normalize all icons <title> value

* Fix mismatch between HTML's icon title and simple-icons.json title

... due to HTML special entities (such as `&amp;`). Affected icons:

- AT&T (AT&amp;T)
- Let's Encrypt (Let&apos;s Encrypt)

* Refactor .svglintrc.js

to make the code style more in line with scripts/prepublish.js

* Add SVG with invalid <title> format

* Add SVG with unknown title

* Revert 6912816 and f002504
2019-07-03 23:33:03 +02:00
Piotr Hylicki c0f5fb3c93 Added Allocine icon (#1398)
* Added Allocine icon

* Updated name capitalization

* Changed AlloCine color

* Updated AlloCiné title

---

Closes #1392
2019-06-09 15:19:31 +01:00