In HTML, tags and entities aren\'t parsed within tags, and immediately ends the tag. Thus,
More HTML encoding might help? < for the <.
Difficult to know quite what you are doing with it. If you are not sure of what the content between the script tags might be (looks like you might be trying to use it as a template holder of some sort?) then you could/should use a CDATA section:
That should do it. More description could help give a better answer too :)