@brightspace-ui/core 3.314.2 → 3.314.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.
|
@@ -168,9 +168,9 @@ class DemoSnippet extends LitElement {
|
|
|
168
168
|
|
|
169
169
|
// fix script whitespace
|
|
170
170
|
text = setIndent(text.replace(/\t/g, ' '))
|
|
171
|
-
.replace(/( *)<script( type="module")?>([^\n]+?)<\/script>/
|
|
172
|
-
.replace(/( *)<\/script>/
|
|
173
|
-
.replace(/<script( type="module")?>/
|
|
171
|
+
.replace(/( *)<script( type="module")?>([^\n]+?)<\/script>/gi, '$1<script$2>\n$1 $3\n$1</script>') // convert single line scripts to multi-line
|
|
172
|
+
.replace(/( *)<\/script>/gi, '\n$1</script>')
|
|
173
|
+
.replace(/<script( type="module")?>/gi, '<script$1>\n')
|
|
174
174
|
.replace(/(\n *)?<script data-demo-hide(.+?)<\/script>/gis, '');
|
|
175
175
|
|
|
176
176
|
const startTags = new Set([...text.matchAll(/<[^/](.*?)>/g)].map(m => m[0]));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.314.
|
|
3
|
+
"version": "3.314.3",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|