Nothing Special   »   [go: up one dir, main page]

Skip to content

Commit

Permalink
don't autolink CSS @supports
Browse files Browse the repository at this point in the history
  • Loading branch information
tantek committed May 18, 2019
1 parent 39f3d6c commit ded4432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cassis.js
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ function auto_link() {
if ((!$spe || !preg_match('/(?:\\=[\\"\\\']?|t;)/', $spe)) &&
substr(trim($sp[$i+1]), 0, 3)!=='</a' &&
(!contains(
'@charset@font@font-face@import@media@namespace@page@ABCDEFGHIJKLMNOPQ@',
'@charset@font@font-face@import@media@namespace@page@supports@ABCDEFGHIJKLMNOPQ@',
strcat($mi, '@')))) {
$afterlink = '';
$afterchar = substr($mi, -1, 1);
Expand Down

0 comments on commit ded4432

Please sign in to comment.