summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/bug557700-6.erb
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/nxhtml/tests/in/bug557700-6.erb')
-rw-r--r--emacs.d/nxhtml/tests/in/bug557700-6.erb11
1 files changed, 11 insertions, 0 deletions
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 %>