beforesemicolon/cwco

Properly handle Link tags in stylesheet mixed with style tag

Closed this issue · 1 comments

This will throw an error:

class ExampleComponent extends WebComponent {
  stylesheet = `
        <link rel="stylesheet" href="./example.css">
        <style>:host {display: block;}</style>`;
}

It should allow stylesheet links to be mixed with style tags

Addressed in version 1.2.0