summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/bug569742-master-end.html
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-03-07 09:04:49 +0100
committerGravatar Tom Willemsen2011-03-07 09:04:49 +0100
commit94d2fc1815a919734353c942f224db1de4b4fcb8 (patch)
tree4168e816ead132bfa3510e272427837c3895f5e2 /emacs.d/nxhtml/tests/in/bug569742-master-end.html
parentd0e7674fdb1de12c8de202d4028a5d7ed3669a6e (diff)
downloaddotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.tar.gz
dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.zip
Django, org
* Added nxhtml, mostly for django support. * Changed some org settings.
Diffstat (limited to 'emacs.d/nxhtml/tests/in/bug569742-master-end.html')
-rw-r--r--emacs.d/nxhtml/tests/in/bug569742-master-end.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/bug569742-master-end.html b/emacs.d/nxhtml/tests/in/bug569742-master-end.html
new file mode 100644
index 0000000..8e0419c
--- /dev/null
+++ b/emacs.d/nxhtml/tests/in/bug569742-master-end.html
@@ -0,0 +1,37 @@
+
+From EmacsWiki:
+
+I have chunk problems with 1.99. This works, it detects the PHP and JS chunks properly:
+
+<?
+
+
+$stuff = <<<EOTHTML
+
+ <script type="text/javascript">
+
+ //<![CDATA[
+
+ var stuff;
+
+ //]]>
+ </script>
+
+EOTHTML;
+
+
+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:
+
+<?
+
+
+$stuff = <<<EOTHTML
+
+ <script type="text/javascript">
+
+ //<![CDATA[
+
+ var stuff;
+
+EOTHTML;
+