@unocss/preset-attributify 0.50.2 → 0.50.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -130,7 +130,7 @@ const strippedPrefixes = [
130
130
  ];
131
131
  const splitterRE = /[\s'"`;]+/g;
132
132
  const elementRE = /<[^>\s]*\s((?:'.*?'|".*?"|`.*?`|\{.*?\}|[^>]*?)*)/g;
133
- const valuedAttributeRE = /([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-.~]+)=?(?:["]([^"]*)["]|[']([^']*)[']|[{]([^}]*)[}])?/gms;
133
+ const valuedAttributeRE = /([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-.~<]+)=?(?:["]([^"]*)["]|[']([^']*)[']|[{]([^}]*)[}])?/gms;
134
134
  const defaultIgnoreAttributes = ["placeholder", "fill", "opacity"];
135
135
  const extractorAttributify = (options) => {
136
136
  const ignoreAttributes = options?.ignoreAttributes ?? defaultIgnoreAttributes;
package/dist/index.mjs CHANGED
@@ -126,7 +126,7 @@ const strippedPrefixes = [
126
126
  ];
127
127
  const splitterRE = /[\s'"`;]+/g;
128
128
  const elementRE = /<[^>\s]*\s((?:'.*?'|".*?"|`.*?`|\{.*?\}|[^>]*?)*)/g;
129
- const valuedAttributeRE = /([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-.~]+)=?(?:["]([^"]*)["]|[']([^']*)[']|[{]([^}]*)[}])?/gms;
129
+ const valuedAttributeRE = /([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-.~<]+)=?(?:["]([^"]*)["]|[']([^']*)[']|[{]([^}]*)[}])?/gms;
130
130
  const defaultIgnoreAttributes = ["placeholder", "fill", "opacity"];
131
131
  const extractorAttributify = (options) => {
132
132
  const ignoreAttributes = options?.ignoreAttributes ?? defaultIgnoreAttributes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-attributify",
3
- "version": "0.50.2",
3
+ "version": "0.50.3",
4
4
  "description": "Attributify preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@unocss/core": "0.50.2"
36
+ "@unocss/core": "0.50.3"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "unbuild",