There is a text file with some content, I shove it into a div using js (innerHTML). Here is an example:
var inside = '<?php include("main.txt");?>';
In general, the problem is this: if the content in the text file is not located in one line, then s adds an apostrophe to the beginning of the text and gives the error "unterminated string literal". How to get out of a predicament?