Skip to content

Commit

Permalink
Merge pull request #159 from hibbitts-design/docsify-this-v1
Browse files Browse the repository at this point in the history
Docsify this v1
  • Loading branch information
paulhibbitts authored Nov 19, 2024
2 parents 19cdcf2 + 8529a4a commit 260d066
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [1.9.16] - XX/XX/2024

**Bugfix:**
* More robust handling of of Web Page Builder custom settings

## [1.9.15] - 11/18/2024

**New:**
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@
return; // Exit if basePath is present
}

if (getURLParameterByName(['url-field', 'urlField']) || (window.location.href.includes('?') && !window.location.href.includes('?id='))) {
if (getURLParameterByName(['url-field', 'urlField']) || (window.location.href.includes('?') && /[?&](url-field|urlField|https?:\/\/[^\s]+|www\.[^\s]+|[a-z0-9.-]+\.[a-z]{2,})/i.test(window.location.href))) {
var markdownFileURL = '';

// Check if the URL has only a '?' followed by content, without any '='
Expand Down

0 comments on commit 260d066

Please sign in to comment.