SwiftSoup
SwiftSoup copied to clipboard
Should crossorigin be added to the booleanAttributes list?
Reading https://html.spec.whatwg.org/#cors-settings-attributes, crossorigin allows the empty string to be treated as anonymous. This means that <script crossorigin> is equivalent to <script crossorigin="">.
Should crossorigin be added to the booleanAttributes list in https://github.com/scinfu/SwiftSoup/blob/e2d11208519549c2e5798d70190472045633f22f/Sources/Attribute.swift#L15-L20?