devongarde / ssc

static site checker (an opinionated HTML nitpicker)
Other
11 stars 2 forks source link

Suppress STYLE issues #20

Closed devongarde closed 4 years ago

devongarde commented 4 years ago

ssc should not analyse STYLE, but it currently complains if, for example, double quotes are used (something requires by CSS). Fix this.

devongarde commented 4 years ago

The core problem is fixed.

However, SSC will always be confused by scripts and style because it does not parse them. The real, long term solution is to do that parsing, but this is not a small undertaking.

In the meantime, this fix, together with usage of the XML CDATA syntax should allow sections of script and style to be left alone.