NealM
NealM

Reputation: 43

PhpStorm warning on HTML comment

I am receiving warnings "Selector matches unknown element suppress" and "Selector matches unknown element JSUnresolvedLibraryURL" in PhpStorm for the following:

<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title><?=$title?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="Description" content="Real Estate for sale <?=$fullAddress?>. MLS <?=$MLS?>">
    <!--suppress JSUnresolvedLibraryURL -->
    <script src='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js'></script>
</head>

It runs without error, but I would like to understand the why behind the warning and resolve it.

Upvotes: 0

Views: 106

Answers (1)

lena
lena

Reputation: 93728

you must have some language injected in the comments. Please check language injections with IDE and Project scopes in Preferences | Editor | Language Injections.

Upvotes: 1

Related Questions