implemented searching in notes

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-09-02 22:46:11 +02:00
parent cff4360a37
commit bee33e84a0
5 changed files with 77 additions and 13 deletions

View File

@@ -92,11 +92,10 @@ public class Util {
var svg = new String(out, UTF_8);
source = source.substring(0, start) + svg + source.substring(end);
}
}
}
return MARKDOWN.text(source);
} catch (Exception e){
} catch (Throwable e){
if (LOG.isLoggable(TRACE)){
LOG.log(TRACE,"Failed to render markdown, input was: \n{0}",source,e);
} else LOG.log(WARNING,"Failed to render markdown. Enable TRACE log level for details.");