mirror of
https://github.com/leanote/leanote-android.git
synced 2025-10-14 22:25:40 +00:00
fix compile error
This commit is contained in:
@@ -18,7 +18,6 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import okio.BufferedSink;
|
||||
import okio.Okio;
|
||||
@@ -94,7 +93,7 @@ public class HtmlImporter {
|
||||
preElement.addClass("ace-tomorrow");
|
||||
removeClassLike(preElement, "brush:\\w+");
|
||||
//to be compatible with desktop app, https://github.com/leanote/desktop-app/issues/192
|
||||
if (codeHtml.contains("<"))
|
||||
if (codeHtml.contains("<")) {
|
||||
preElement.addClass("brush:html");
|
||||
} else {
|
||||
preElement.addClass("brush:convert");
|
||||
|
Reference in New Issue
Block a user