[ https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492133#comment-17492133 ]
Tomáš Procházka commented on NETBEANS-5369: ------------------------------------------- Please add steps how to reproduce the issue and sample project. I tried pasting your code into regular HTML file in NetBeans and I don't see any error. > link rel preconnect marked as bad value > --------------------------------------- > > Key: NETBEANS-5369 > URL: https://issues.apache.org/jira/browse/NETBEANS-5369 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Editor > Affects Versions: 12.0 > Reporter: Riksoft > Priority: Minor > > A common line of code like this one > {code:java} > <link rel="preconnect" href="https://fonts.gstatic.com">{code} > is marked as "Bad value" with this phrase: > _Bad value "preconnect" for attribute "rel" on element "link": The string > "preconnect" is not a registered keyword._ > _Syntax of list of link-type keywords:_ > _A whitespace-separated list of link types listed as allowed on '<link>' in > the HTML specification or listed as an allowed on '<link>' on the > Microformats wiki without duplicate keywords in the list. You can register > link types on the Microformats wiki yourself._ > Actually rel="preconnect" is valid code, as shown here > [https://www.w3.org/TR/resource-hints/] so should be added to the validator. > I wonder what's and where is the Microformats wiki the message is talking > about... > -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists