It seems that jsp code blocks can cause the editor parsing to crash

We strongly recommend you to search the forum with possible keywords before submitting a new bug report. Please also try your repro steps with community plugins and custom CSS disabled and see if it’s still reproducible. Alternatively, you can use the Sandbox vault (lower left corner ? → Open Sandbox vault).

If it’s an issue with third-party plugins or themes, try contacting the author for help.

Mobile-specific bug reports should be filed here:

Steps to reproduce

Add a JSP codeblock like this

	<title>Book Library</title>
	<h3>Choose a book:</h3>
	<form method="get">
		<input type="checkbox" name="book" value="Divergent">Divergent
		<input type="checkbox" name="book" value="Twilight">Twilight
		<input type="checkbox" name="book" value="Still Me">Still Me
		<input type="submit" value="Submit">
	</form> <!--below is line 11-->
		String[] books=request.getParameterValues("book"); 
		if (books != null) { 
	<h3>You have selected the following book(s):</h3>
		for (int i=0; i < books.length; ++i) { 
			<li><%= books[i] %></li>
	<a href="<%= request.getRequestURI() %>">GoBack</a>

Then we close the window and Obsidian.

Expected result

The file is opened as usual.

Actual result

When we try to open this file once again, we will fail. Obsidian also say that (filepath?)...CodeMirrormultiplexingMode is not a function


  • Operating system: WIndows 10
  • Debug info:

Obsidian version: v1.0.3
Installer version: v0.15.6
Operating system: Windows 10 Home China 10.0.19044
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 7
Plugins enabled: 7
1: Quick Latex for Obsidian v2.3.7
2: Calendar v1.5.10
3: Day Planner v0.5.8
4: Excalidraw v1.7.19
5: Various Complements v7.1.1
6: Editor Syntax Highlight v0.1.3
7: Advanced Tables v0.17.3

Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Additional information

A little JSP code block doesn’t make the editor completely crash, but part of the file that close to the code block can’t display as usual and be edited. For example

<% for (int j=1; j<=10; j++) %>
<%= j; %> <br/>


I can’t repro in 1.1.9. download and reinstall obsidian. try in the sandbox vault

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.