title: concat, quotation mark and apostrophe combination problems
body: <p>I tried different ways and also looked around but can't get this running.
  I need to concat the following:</p>
  
  <pre><code>"concat( 
      'this is; \"a sample',
      //XML_NODE,
      '\"; \"using an apostrophe',
      '&amp;#39;',
      'in text\"'
  )"
  </code></pre>
  
  <p>one line version:</p>
  
  <pre><code>"concat( 'this is; \"a sample', //XML_NODE, '\"; \"using an apostrophe', '&amp;#39;', 'in text\"' )"
  </code></pre>
  
  <p>The output should be:</p>
  
  <pre><code>this is "a sample XML_NODE_VALUE"; "using an apostrophe ' in text"
  </code></pre>
  
  <p>The problem is the ' in the text. concat use it to end a string and expect an following ; or the end of concat. Escaping or HTML entities all seems to not work.</p>
  
  <p>Any help is really appreciated.</p>
  
  <p>Thanks!</p>