Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Releases: pluralsight/htmlTagValidator

Release v1.6.0

07 Jul 03:35
Compare
Choose a tag to compare

Added

  • Boolean attributes in all the allowed variations forms are now parsed and included in the AST
    • <input checked>
    • <input checked="true">
    • <input checked="">

Fixed

  • Allow unambiguous ampersands (&) in double-quoted attribute values. Ampersands are allowed EXCEPT when they come in the form of a named reference (e.g., &something;) where something is not a valid named reference from this list.

Release v1.5.0

14 Jun 18:16
Compare
Choose a tag to compare

Added

  • Added preserveCase option to allow validation of Angular 2 templates. Here is a combination of settings and configuration that appears to work well for Angular 2.

    {
      settings: {
        preserveCase: true
      },
      tags: {
        normal: [ 'template' ]
      },
      attributes: {
        '_': {
          mixed: /^((\*ng)|(^\[[\S]+\]$)|(^\([\S]+\)$))|(^\[\([\S]+\)\]$)/
        }
      }
    }