Java Servlet Code makes notes disappear

Steps to reproduce

  1. Open any page with notes. (Would suggest not to open something important, maybe lorem ipsum).
  2. Copy/Paste JSP code. this code:

<c:if test="${not empty param.language}">
<jsp:include file="<%= request.getParameter(‘language’) %>" />
</c:if>

  1. Add the formatting to make it code, i.e. ```jsp
  2. By the time you have typed the p you may notice it has two p’s, your page may have disappeared, or you can move your scroll wheel up and down and the notes should have disappeared.

Expected result

Expected result is like all other code snippets.

Actual result

Generally the notes disappear.

Environment

From uname -a = Linux url 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.14.6
    Installer version: v0.14.6
    Operating system: #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 5.13.0-40-generic
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: on
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: on

RECOMMENDATIONS:
none


thanks

will be fixed 0.14.10

Just discovered today that you don’t even need the code to trigger the funk. if you just start to type a new code block:

(```jsp

It will react in a similar way. Once you type in the ‘p’.

edit: without the ‘(’ it wanted to make a code block while I was putting it in.

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