Проблема с открытием тега сценария с помощью < и < через CMS. ⇐ CSS
-
Anonymous
Проблема с открытием тега сценария с помощью < и < через CMS.
I have a problem trying a temporary fix on an old version (7.1) of the LifeRay CMS for a close friend, even though I'm no coding expert. Using a function of the CMS we have a field we are supposed to use to inject a specific code within every page of the website.
Problem is that when I use this field, whatever I write inside gets read as plain text. After some time I found out the possible cause by examining the body through Chrome dev console. What should be a "" tag, is actually there as "". The same happens for the closing tag of course.
By manually editing the html through the Chrome console and simply fixing those characters with "" everything works perfectly, but I'm wondering... how can I fix this regularly and not in the temporary chrome console? I really have no clue what could be causing this in the CMS. I checked the page and there are no other instances of "" being swapped with those other strings.
Источник: https://stackoverflow.com/questions/781 ... ough-a-cms
I have a problem trying a temporary fix on an old version (7.1) of the LifeRay CMS for a close friend, even though I'm no coding expert. Using a function of the CMS we have a field we are supposed to use to inject a specific code within every page of the website.
Problem is that when I use this field, whatever I write inside gets read as plain text. After some time I found out the possible cause by examining the body through Chrome dev console. What should be a "" tag, is actually there as "". The same happens for the closing tag of course.
By manually editing the html through the Chrome console and simply fixing those characters with "" everything works perfectly, but I'm wondering... how can I fix this regularly and not in the temporary chrome console? I really have no clue what could be causing this in the CMS. I checked the page and there are no other instances of "" being swapped with those other strings.
Источник: https://stackoverflow.com/questions/781 ... ough-a-cms
Мобильная версия