robb / Swim

A DSL for writing HTML in Swift
310 stars 9 forks source link

Remove rel2, replace rel2 with rel #14

Closed kevinrenskers closed 3 years ago

kevinrenskers commented 3 years ago

I'm not sure what rel2 is supposed to be? But it was impossible to include a stylesheet (<link rel="stylesheet" href="/style.css" />) so I changed it to rel, as expected.

robb commented 3 years ago

Ah, good catch. The underlying problem is that some tags have different semantics on attributes with the same name, e.g. <a href="…"> vs. <link href="…">.

I've fixed this in #15 by updating the Generator – figured this would be slightly faster than asking you to do it. Thanks for the PR 💖

robb commented 3 years ago

Tagged in 0.1.1.