initial commit
[emacs-init.git] / nxhtml / tests / in / bug569742-master-end.html
1
2 From EmacsWiki:
3
4 I have chunk problems with 1.99. This works, it detects the PHP and JS chunks properly:
5
6 <?
7
8
9 $stuff = <<<EOTHTML
10
11     <script type="text/javascript">
12
13     //<![CDATA[
14
15     var stuff;
16
17     //]]>
18     </script>
19
20 EOTHTML;
21
22
23 However if I don’t close the inner chunk before EOTHTML, because I want to add some conditional code after it in PHP then it thinks the part of the buffer after EOTHTML is still in JS mode which is not good:
24
25 <?
26
27
28 $stuff = <<<EOTHTML
29
30     <script type="text/javascript">
31
32     //<![CDATA[
33
34     var stuff;
35
36 EOTHTML;
37