In my shop, I'm "the guy who runs the website," but I am NOT a webmaster. So this has thrown me a bit.
I'm trying to edit a page so as to insert some javascript into the source code. The code I'm trying to paste is:
--- begin code ---
<div id="bbox-root"></div> <script type="text/javascript"> window.bboxInit = function () { bbox.showForm('8a89a64a-9af1-4d9c-aff0-524e3616885a'); }; (function () { var e = document.createElement('script'); e.async = true; e.src = 'https://bbox.blackbaudhosting.com/webforms/bbox-min.js'; document.getElementsByTagName('head')[0].appendChild(e); } ()); </script>
--- end code ---
When I paste it in and then save the page, I find the following:
--- begin code ---
<div id="bbox-root"> </div>
<script type="text/jaxxxvascxxxript"> window.bboxInit = function () { bbox.showForm('8a89a64a-9af1-4d9c-aff0-524e3616885a'); }; (function () { var e = document.createElement('script'); e.async = true; e.src = 'https://bbox.blackbaudhosting.com/webforms/bbox-min.js'; document.getElementsByTagName('head')[0].appendChild(e); } ()); </script>
--- end code ---
As you can see, "xxx" has appeared within the word "javascript." This happens every time I have attempted to insert some javascript into a page's source code via the CMS. Sometimes, as with embedding video, I can use an <iframe></iframe> tag or some other workaround, but for this particular task, there is no substitute.
This also happens anytime I attempt to add certain words to the text of the page -- "transcript" is a frequent offender, usually rendering as "transcxxxript" -- and because I work for a college, that's a fairly major land mine.
How can I prevent the extraneous "xxx"s from happening or work around them? I have back-end access, but I would need very specific instructions to go in and fix anything. Thanks!
L.
I'm trying to edit a page so as to insert some javascript into the source code. The code I'm trying to paste is:
--- begin code ---
<div id="bbox-root"></div> <script type="text/javascript"> window.bboxInit = function () { bbox.showForm('8a89a64a-9af1-4d9c-aff0-524e3616885a'); }; (function () { var e = document.createElement('script'); e.async = true; e.src = 'https://bbox.blackbaudhosting.com/webforms/bbox-min.js'; document.getElementsByTagName('head')[0].appendChild(e); } ()); </script>
--- end code ---
When I paste it in and then save the page, I find the following:
--- begin code ---
<div id="bbox-root"> </div>
<script type="text/jaxxxvascxxxript"> window.bboxInit = function () { bbox.showForm('8a89a64a-9af1-4d9c-aff0-524e3616885a'); }; (function () { var e = document.createElement('script'); e.async = true; e.src = 'https://bbox.blackbaudhosting.com/webforms/bbox-min.js'; document.getElementsByTagName('head')[0].appendChild(e); } ()); </script>
--- end code ---
As you can see, "xxx" has appeared within the word "javascript." This happens every time I have attempted to insert some javascript into a page's source code via the CMS. Sometimes, as with embedding video, I can use an <iframe></iframe> tag or some other workaround, but for this particular task, there is no substitute.
This also happens anytime I attempt to add certain words to the text of the page -- "transcript" is a frequent offender, usually rendering as "transcxxxript" -- and because I work for a college, that's a fairly major land mine.
How can I prevent the extraneous "xxx"s from happening or work around them? I have back-end access, but I would need very specific instructions to go in and fix anything. Thanks!
L.