mirror of
https://github.com/svg/svgo.git
synced 2025-07-21 01:22:59 +03:00
Update cleanupIDs.js
begin an be `"0s;third.end"` https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/begin
This commit is contained in:
@ -17,7 +17,7 @@ exports.params = {
|
|||||||
var referencesProps = new Set(require('./_collections').referencesProps),
|
var referencesProps = new Set(require('./_collections').referencesProps),
|
||||||
regReferencesUrl = /\burl\(("|')?#(.+?)\1\)/,
|
regReferencesUrl = /\burl\(("|')?#(.+?)\1\)/,
|
||||||
regReferencesHref = /^#(.+?)$/,
|
regReferencesHref = /^#(.+?)$/,
|
||||||
regReferencesBegin = /^(\w+?)\./,
|
regReferencesBegin = /(\w+)\./,
|
||||||
styleOrScript = ['style', 'script'],
|
styleOrScript = ['style', 'script'],
|
||||||
generateIDchars = [
|
generateIDchars = [
|
||||||
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
|
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
|
||||||
|
Reference in New Issue
Block a user