mirror of https://github.com/twbs/bootstrap.git
Fix HTML head content built from 'Download examples' button (#41468)
BrowserStack / browserstack (push) Waiting to run
Details
Bundlewatch / bundlewatch (push) Waiting to run
Details
CodeQL / Analyze (push) Waiting to run
Details
cspell / cspell (push) Waiting to run
Details
CSS / css (push) Waiting to run
Details
Docs / docs (push) Waiting to run
Details
JS Tests / JS Tests (push) Waiting to run
Details
Lint / lint (push) Waiting to run
Details
CSS (node-sass) / css (push) Waiting to run
Details
Release notes / update_release_draft (push) Waiting to run
Details
BrowserStack / browserstack (push) Waiting to run
Details
Bundlewatch / bundlewatch (push) Waiting to run
Details
CodeQL / Analyze (push) Waiting to run
Details
cspell / cspell (push) Waiting to run
Details
CSS / css (push) Waiting to run
Details
Docs / docs (push) Waiting to run
Details
JS Tests / JS Tests (push) Waiting to run
Details
Lint / lint (push) Waiting to run
Details
CSS (node-sass) / css (push) Waiting to run
Details
Release notes / update_release_draft (push) Waiting to run
Details
This commit is contained in:
parent
0a005b3604
commit
e5b9f37149
|
@ -88,9 +88,9 @@ for (const file of sh.find(`${distFolder}/**/*.html`)) {
|
|||
.toString()
|
||||
.replace(new RegExp(`"/docs/${versionShort}/`, 'g'), '"../')
|
||||
.replace(/"..\/dist\//g, '"../assets/dist/')
|
||||
.replace(/(<link href="\.\.\/.*) integrity=".*>/g, '$1>')
|
||||
.replace(/(<script src="\.\.\/.*) integrity=".*>/g, '$1></script>')
|
||||
.replace(/( +)<!-- favicons(.|\n)+<style>/i, ' <style>')
|
||||
.replace(/(<link href="\.\.\/[^"]*"[^>]*) integrity="[^"]*"/g, '$1')
|
||||
.replace(/<link[^>]*href="\.\.\/assets\/img\/favicons\/[^"]*"[^>]*>/g, '')
|
||||
.replace(/(<script src="\.\.\/[^"]*"[^>]*) integrity="[^"]*"/g, '$1')
|
||||
new sh.ShellString(fileContents).to(file)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue