mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-26 06:47:03 +03:00
Update MarkdownUtil.java
This commit is contained in:
parent
faf2bf338e
commit
f6672c8778
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public class MarkdownUtil {
|
|||
final String editableString = editable.toString();
|
||||
final String nonBlankPattern="\\S+";
|
||||
final Pattern pattern = Pattern.compile(nonBlankPattern);
|
||||
Matcher blankMatcher = pattern.matcher(editableString);
|
||||
final Matcher blankMatcher = pattern.matcher(editableString);
|
||||
if (!blankMatcher.find()){
|
||||
return selectionEnd;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue