hint icon indicating copy to clipboard operation
hint copied to clipboard

Fix: Gracefully handle empty <head> tag

Open antross opened this issue 2 years ago • 2 comments

Pull request checklist

Make sure you:

For non-trivial changes, please make sure you also:

  • [ ] Added/Updated related documentation.
  • [x] Added/Updated related tests.

Short description of the change(s)

Prevent an internal error from occurring by no longer assuming the head element has at least one child. Note this can still produce false-positives in static contexts where the content being processed by webhint is different than what would actually be sent to the browser (e.g. for server-side templates).


Fix #5082 Ref microsoft/vscode-edge-devtools#1050

antross avatar Jun 06 '22 22:06 antross

/azp run

antross avatar Jul 01 '22 21:07 antross

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jul 01 '22 21:07 azure-pipelines[bot]

/azp run

vidorteg avatar Sep 01 '22 01:09 vidorteg

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Sep 01 '22 01:09 azure-pipelines[bot]