From 94d2fc1815a919734353c942f224db1de4b4fcb8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 7 Mar 2011 09:04:49 +0100 Subject: Django, org * Added nxhtml, mostly for django support. * Changed some org settings. --- emacs.d/nxhtml/tests/in/bug557700-6.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 emacs.d/nxhtml/tests/in/bug557700-6.erb (limited to 'emacs.d/nxhtml/tests/in/bug557700-6.erb') diff --git a/emacs.d/nxhtml/tests/in/bug557700-6.erb b/emacs.d/nxhtml/tests/in/bug557700-6.erb new file mode 100644 index 0000000..453f3e0 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug557700-6.erb @@ -0,0 +1,11 @@ +var x = "<%= x %>"; +var y = 5; + +Second line is treated as if it was a string. + +Problem with multiple lines inside ruby if: + +<% if b %> + var x = 1; +alert(1); +<% end %> -- cgit v1.2.3-54-g00ecf