title: HTML is not escaped in an ERB tag
body: <p>I wrote the following code in a js.erb file:</p>
  
  <pre><code>var data = '&lt;%= "#{@books.page_section_right}".html_safe %&gt;';
  
  // For example:
  var data = '&lt;%= "&lt;h3&gt;
  &lt;strong&gt;A few things you should know:&lt;/strong&gt;
  &lt;/h3&gt;
  &lt;ul&gt;
  &lt;li&gt;
  &lt;strong&gt;The course auto will auto sign out if you are idle for more than 30 minutes. We can't keep it running all day.&lt;/strong&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;strong&gt;Every now and then we'll ask you a security question just to make sure you didn't bribe your dog to do the class for you.&lt;br&gt;&lt;/strong&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;strong&gt;Lastly, when you get to the exam, make sure you have enough time where you won't be interrupted. You must  finish the exam in one session. More on this later.&lt;/strong&gt;
  &lt;/li&gt;
  &lt;/ul&gt;".html_safe%&gt;';
  
  // Booklet js:
  $('#mybook').booklet("add", "end", data);
  </code></pre>
  
  <p>As you can see, the string is not formed properly. What am I doing wrong?</p>