summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/bug523065.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/nxhtml/tests/in/bug523065.jsp')
-rw-r--r--emacs.d/nxhtml/tests/in/bug523065.jsp9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/bug523065.jsp b/emacs.d/nxhtml/tests/in/bug523065.jsp
new file mode 100644
index 0000000..a696515
--- /dev/null
+++ b/emacs.d/nxhtml/tests/in/bug523065.jsp
@@ -0,0 +1,9 @@
+In JSP page, if we have a line like <% // some comments %>, then the "%>" is ignored by nxhtml.
+However if we write it like this:
+<% // some comments
+%>
+or
+<%
+// some comments
+%>
+then the page is parsed correctly