Skip to content

Commit f4e6786

Browse files
committed
release prep
1 parent 033d295 commit f4e6786

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

dist/htmx.amd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ var htmx = (function() {
584584
*/
585585
function makeFragment(response) {
586586
// strip head tag to determine shape of response we are dealing with
587-
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
587+
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
588588
const startTag = getStartTag(responseWithNoHead)
589589
/** @type DocumentFragmentWithTitle */
590590
let fragment

dist/htmx.cjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ var htmx = (function() {
583583
*/
584584
function makeFragment(response) {
585585
// strip head tag to determine shape of response we are dealing with
586-
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
586+
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
587587
const startTag = getStartTag(responseWithNoHead)
588588
/** @type DocumentFragmentWithTitle */
589589
let fragment

dist/htmx.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ var htmx = (function() {
583583
*/
584584
function makeFragment(response) {
585585
// strip head tag to determine shape of response we are dealing with
586-
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
586+
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
587587
const startTag = getStartTag(responseWithNoHead)
588588
/** @type DocumentFragmentWithTitle */
589589
let fragment

dist/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ var htmx = (function() {
583583
*/
584584
function makeFragment(response) {
585585
// strip head tag to determine shape of response we are dealing with
586-
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
586+
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
587587
const startTag = getStartTag(responseWithNoHead)
588588
/** @type DocumentFragmentWithTitle */
589589
let fragment

dist/htmx.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/htmx.min.js.gz

4 Bytes
Binary file not shown.

www/content/docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ The fastest way to get going with htmx is to load it via a CDN. You can simply a
121121
your head tag and get going:
122122

123123
```html
124-
<script src="https://unpkg.com/[email protected]" integrity="sha384-qeAN0xWnJNWF0HBnEUKZHIL+jcrMrstwVTUUNfWBjjCcucLtTls/G3Ap9zAgCq4f" crossorigin="anonymous"></script>
124+
<script src="https://unpkg.com/[email protected]" integrity="sha384-0895/pl2MU10Hqc6jd4RvrthNlDiE9U1tWmX7WRESftEDRosgxNsQG/Ze9YMRzHq" crossorigin="anonymous"></script>
125125
```
126126

127127
An unminified version is also available as well:
128128

129129
```html
130-
<script src="https://unpkg.com/[email protected]/dist/htmx.js" integrity="sha384-8KIgStQiNEm1seO9ZjTtw62D9Yvv1KdmFlY35ND75VbqDo+3yKg3KYZUgUNcNlAn" crossorigin="anonymous"></script>
130+
<script src="https://unpkg.com/[email protected]/dist/htmx.js" integrity="sha384-BBDmZzVt6vjz5YbQqZPtFZW82o8QotoM7RUp5xOxV3nSJ8u2pSdtzFAbGKzTlKtg" crossorigin="anonymous"></script>
131131
```
132132

133133
While the CDN approach is extremely simple, you may want to consider

www/static/src/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ var htmx = (function() {
583583
*/
584584
function makeFragment(response) {
585585
// strip head tag to determine shape of response we are dealing with
586-
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
586+
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
587587
const startTag = getStartTag(responseWithNoHead)
588588
/** @type DocumentFragmentWithTitle */
589589
let fragment

www/themes/htmx-theme/static/js/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ var htmx = (function() {
583583
*/
584584
function makeFragment(response) {
585585
// strip head tag to determine shape of response we are dealing with
586-
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
586+
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
587587
const startTag = getStartTag(responseWithNoHead)
588588
/** @type DocumentFragmentWithTitle */
589589
let fragment

0 commit comments

Comments
 (0)