pages - <script turning to <a href once published

admin2025-04-20  0

I’m trying to add an league table using this script to a WP-page:

<script src="/[torneopal:scoretable:competition=splfutsal1920%26amp;class=FL%26amp;group=1%26amp;key=XHGVMHFIQB]"></script>

I’m using the ”Custom html” -block as it was suggested. It works fine once I try to preview it on the block but once I’ll publish or preview the page, script just shows up as a hyperlink. When I inspect the hyperlink I found out that it had turned from 'script to a href.

Any ideas how to overcome this problem?

I’m trying to add an league table using this script to a WP-page:

<script src="https://www.palloliitto.fi/torneopal/ajax/[torneopal:scoretable:competition=splfutsal1920%26amp;class=FL%26amp;group=1%26amp;key=XHGVMHFIQB]"></script>

I’m using the ”Custom html” -block as it was suggested. It works fine once I try to preview it on the block but once I’ll publish or preview the page, script just shows up as a hyperlink. When I inspect the hyperlink I found out that it had turned from 'script to a href.

Any ideas how to overcome this problem?

Share Improve this question asked Sep 27, 2019 at 20:11 FutsalFutsal 1
Add a comment  | 

1 Answer 1

Reset to default 0

It is possible that your caching plugins are preventing the script from loading. Your site may also be http and not https, hence the reason why https script cannot load. Try changing the script to http:

<script src="http://www.palloliitto.fi/torneopal/ajax/[torneopal:scoretable:competition=splfutsal1920%26amp;class=FL%26amp;group=1%26amp;key=XHGVMHFIQB]"></script>

If that doesn't help, send us a link to the page where you inserted it.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745123201a286271.html

最新回复(0)