closing script tag causing issues
Hi everyone,
I have a simple piece of code but the cosing script tage on line 20 is causing an issue. As you can see in the image i have attached i am adding a string to the pageContent variable. inside the string i have a script tag containing an alert. the opening tag works perfectly the way it should but the closing script tag has decided to connect to the open script tag on line 6. This shouldnt happen as the closing script tag is inside the string and should not perform as a tag.
is there a setting i need to change to fix this or is there a problem with the software ?

