vue-files-preview-inno
Version:
A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
1 lines • 1.8 kB
Source Map (JSON)
{"version":3,"file":"html_re.mjs","sources":["../../../../../../node_modules/markdown-it/lib/common/html_re.mjs"],"sourcesContent":["// Regexps to match html elements\n\nconst attr_name = '[a-zA-Z_:][a-zA-Z0-9:._-]*'\n\nconst unquoted = '[^\"\\'=<>`\\\\x00-\\\\x20]+'\nconst single_quoted = \"'[^']*'\"\nconst double_quoted = '\"[^\"]*\"'\n\nconst attr_value = '(?:' + unquoted + '|' + single_quoted + '|' + double_quoted + ')'\n\nconst attribute = '(?:\\\\s+' + attr_name + '(?:\\\\s*=\\\\s*' + attr_value + ')?)'\n\nconst open_tag = '<[A-Za-z][A-Za-z0-9\\\\-]*' + attribute + '*\\\\s*\\\\/?>'\n\nconst close_tag = '<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>'\nconst comment = '<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->'\nconst processing = '<[?][\\\\s\\\\S]*?[?]>'\nconst declaration = '<![A-Za-z][^>]*>'\nconst cdata = '<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>'\n\nconst HTML_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + '|' + comment +\n '|' + processing + '|' + declaration + '|' + cdata + ')')\nconst HTML_OPEN_CLOSE_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + ')')\n\nexport { HTML_TAG_RE, HTML_OPEN_CLOSE_TAG_RE }\n"],"names":["attr_name","unquoted","single_quoted","double_quoted","attr_value","attribute","open_tag","close_tag","comment","processing","declaration","cdata","HTML_TAG_RE","HTML_OPEN_CLOSE_TAG_RE"],"mappings":"AAEA,MAAMA,IAAgB,8BAEhBC,IAAgB,0BAChBC,IAAgB,WAChBC,IAAgB,WAEhBC,IAAc,QAAQH,IAAW,MAAMC,IAAgB,MAAMC,IAAgB,KAE7EE,IAAc,YAAYL,IAAY,iBAAiBI,IAAa,OAEpEE,IAAc,6BAA6BD,IAAY,cAEvDE,IAAc,oCACdC,IAAc,yCACdC,IAAc,sBACdC,IAAc,oBACdC,IAAc,kCAEdC,IAAc,IAAI,OAAO,SAASN,IAAW,MAAMC,IAAY,MAAMC,IACnD,MAAMC,IAAa,MAAMC,IAAc,MAAMC,IAAQ,GAAG,GAC1EE,IAAyB,IAAI,OAAO,SAASP,IAAW,MAAMC,IAAY,GAAG;","x_google_ignoreList":[0]}