forms2.min.js script has faulty script include syntax

Created on 20 December 2024, 16 days ago

Problem/Motivation

Specifying the host gives the following output in the DOM
<script src="////id.mktoweb.com/js/forms2/js/forms2.min.js"></script>

This is caused by the adding "//" prefix twice which is unnecessary. Although browsers seem to workaround this faulty syntax, this is not ideal and was actually picked by broken link checker.

Steps to reproduce

Add host to config, look at the actual generated DOM>

Remaining tasks

Will submit a patch later today.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024