»unterminated string literal« error after copying script

yuuno

New Member
I have built a little web application with several *.js files. I am using some frameworks, like jQuery and paper.js, too. I made a config.xml file which lists the files, stores variables and so on. Now I am trying to use XSLT to transform this file into one big javascript-file that will be delivered to the client.All in all there is no problem and it is working fine, as long as i do not include paper.js. If i do this, my firebug gives me the following message:
vy101.png
This even happens if just copy he whole content of the paper.js file into another, without any additional code. After I compared the original file and the copy it turned out that the original line looks like this:
Q98dS.png
That is a screenshot of notepad++ under windows7 64bit.On server side the script files are opened via:\[code\]file_get_contents()\[/code\]and included via:\[code\]<xsl:value-of select="php:function('mygen::getfile', string(text()))" />\[/code\]How can I come arround this issue?? Thanks for help, greetings philipp
 
Top