Details

    • Type: Technical task
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JS, Validation
    • Labels:
      None
    • Story Points:
      13

      Description

      HTML Warnings

      Id Description Details JSLint Option JSHint Option
      attribute_case_a Attribute '{a}' not all lower case. ?
      bad_entity Bad entity. ?
      bad_html Bad HTML string. ?
      bad_id_a Bad id: '{a}'. Looks for id attribute values not matching /^[A-Za-z][A-Za-z0-9._:\-]*$/ in HTML
      bad_name_a Bad name: '{a}'. Checks for non-identifiers following '<tag' or '</' in HTML. Warning.
      bad_type Bad type. Looks for unknown type value in input tag. (Looks for 'button', 'checkbox', 'radio', 'reset', 'submit', 'file', 'hidden', 'image', 'password', 'text')
      bad_url_a Bad url '{a}'. Looks for matches against /&|+|\u00AD|\.\.|\/*|%[^;]|base64|url|expression|data|mailto|script/i for attributes values of 'href', 'background', 'content', 'data' or names containing 'src' or 'url'.
      duplicate_a Duplicate '{a}'. Looks for duplicate id values in HTML, duplicate attributes on HTML tag.
      expected_attribute_value_a Expected an attribute value and instead saw '{a}'. ?
      html_handlers Avoid HTML event handlers. Looks for use of "on.*" attributes in HTML elements. on  
      lang lang is deprecated. Looks for use of lang attribute on 'script' tag.
      tag_a_in_b A '<{a}>' must be within '<{b}>'. ?
      unexpected_char_a_b Unexpected character '{a}' in {b}. Matches ids attributes against /[\[\]\/\\"'*<>.&:(){}+=#]/ or class/type/name attributes against /[^a-zA-Z0-9+\-_\/. ]/
      unrecognized_tag_a Unrecognized tag '<{a}>'. Unknown HTML tag (See https://github.com/douglascrockford/JSLint/blob/master/jslint.js#L717). Error.

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              cwilliams Christopher Williams
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration