Skip to content

spec-char-escape and & #1382

Description

@erosman

Describe the bug

Ampersand is acceptable in HTML text

To Reproduce

HTMLHint generates an error:

Special characters must be escaped : [ & ]. (spec-char-escape)

W3C Markup Validation Service no longer finds any issues with the uncoded &.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Title & More</title>
  </head>
  <body>
    <p>Drag & Drop</p>
  </body>
</html>

Expected behavior

No error

Desktop (please complete the following information):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFunctionality that does not work as intended/expectedhelp wantedWe are looking for community helpkeep-unstaleThe issue will not be marked as stale by the stale-bot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions