mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 13:31:06 +00:00
fix test
This commit is contained in:
parent
760a4e5d2f
commit
a8353bd540
@ -708,7 +708,7 @@ return (function () {
|
||||
}
|
||||
|
||||
function findTitle(content) {
|
||||
if (content.indexOf('<title>') > -1) {
|
||||
if (content.indexOf('<title') > -1) {
|
||||
var contentWithSvgsRemoved = content.replace(/<svg(\s[^>]*>|>)([\s\S]*?)<\/svg>/gim, '');
|
||||
var result = contentWithSvgsRemoved.match(/<title(\s[^>]*>|>)([\s\S]*?)<\/title>/im);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user