Loading app/src/main/java/it/niedermann/owncloud/notes/shared/util/NoteUtil.java +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public class NoteUtil { } /** * Reads the requested line and strips all MarkDown. If line is empty, it will go ahead to find the next not-empty line. * Reads the requested line and strips all Markdown. If line is empty, it will go ahead to find the next not-empty line. * * @param content String * @param lineNumber int Loading app/src/test/java/it/niedermann/owncloud/notes/shared/util/NoteUtilTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ public class NoteUtilTest extends TestCase { assertFalse(NoteUtil.isEmptyLine("a \n ")); } public void testGetLineWithoutMarkDown() { public void testGetLineWithoutMarkdown() { assertEquals("Test", NoteUtil.getLineWithoutMarkdown("Test", 0)); assertEquals("Test", NoteUtil.getLineWithoutMarkdown("\nTest", 0)); assertEquals("Foo", NoteUtil.getLineWithoutMarkdown("Foo\nBar", 0)); Loading fastlane/metadata/android/en-US/full_description.txt +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ Companion app to Nextcloud Notes. * Notizen als Favoriten markieren⭐ * Massenhaftes Löschen 🗑️ * Notizen durchsuchen 🔍 * MarkDown-Rendering ✨ * Markdown-Rendering ✨ * Kontext-basierte Formatierung 🧰 * Dark Mode 🌙 * Single note widget and note list widget 📊 Loading markdown/src/androidTest/java/it/niedermann/android/markdown/MarkdownUtilTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -628,7 +628,7 @@ public class MarkdownUtilTest extends TestCase { } @Test public void testRemoveMarkDown() { public void testRemoveMarkdown() { assertEquals("Test", MarkdownUtil.removeMarkdown("Test")); assertEquals("Foo\nBar", MarkdownUtil.removeMarkdown("Foo\nBar")); assertEquals("Foo\nBar", MarkdownUtil.removeMarkdown("Foo\n Bar")); Loading markdown/src/main/java/it/niedermann/android/markdown/MarkdownUtil.java +3 −3 Original line number Diff line number Diff line Loading @@ -350,10 +350,10 @@ public class MarkdownUtil { } /** * Strips all MarkDown from the given String * Strips all Markdown from the given String * * @param s String - MarkDown * @return Plain Text-String * @param s Markdown string * @return Plain text string */ @NonNull public static String removeMarkdown(@Nullable String s) { Loading Loading
app/src/main/java/it/niedermann/owncloud/notes/shared/util/NoteUtil.java +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public class NoteUtil { } /** * Reads the requested line and strips all MarkDown. If line is empty, it will go ahead to find the next not-empty line. * Reads the requested line and strips all Markdown. If line is empty, it will go ahead to find the next not-empty line. * * @param content String * @param lineNumber int Loading
app/src/test/java/it/niedermann/owncloud/notes/shared/util/NoteUtilTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ public class NoteUtilTest extends TestCase { assertFalse(NoteUtil.isEmptyLine("a \n ")); } public void testGetLineWithoutMarkDown() { public void testGetLineWithoutMarkdown() { assertEquals("Test", NoteUtil.getLineWithoutMarkdown("Test", 0)); assertEquals("Test", NoteUtil.getLineWithoutMarkdown("\nTest", 0)); assertEquals("Foo", NoteUtil.getLineWithoutMarkdown("Foo\nBar", 0)); Loading
fastlane/metadata/android/en-US/full_description.txt +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ Companion app to Nextcloud Notes. * Notizen als Favoriten markieren⭐ * Massenhaftes Löschen 🗑️ * Notizen durchsuchen 🔍 * MarkDown-Rendering ✨ * Markdown-Rendering ✨ * Kontext-basierte Formatierung 🧰 * Dark Mode 🌙 * Single note widget and note list widget 📊 Loading
markdown/src/androidTest/java/it/niedermann/android/markdown/MarkdownUtilTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -628,7 +628,7 @@ public class MarkdownUtilTest extends TestCase { } @Test public void testRemoveMarkDown() { public void testRemoveMarkdown() { assertEquals("Test", MarkdownUtil.removeMarkdown("Test")); assertEquals("Foo\nBar", MarkdownUtil.removeMarkdown("Foo\nBar")); assertEquals("Foo\nBar", MarkdownUtil.removeMarkdown("Foo\n Bar")); Loading
markdown/src/main/java/it/niedermann/android/markdown/MarkdownUtil.java +3 −3 Original line number Diff line number Diff line Loading @@ -350,10 +350,10 @@ public class MarkdownUtil { } /** * Strips all MarkDown from the given String * Strips all Markdown from the given String * * @param s String - MarkDown * @return Plain Text-String * @param s Markdown string * @return Plain text string */ @NonNull public static String removeMarkdown(@Nullable String s) { Loading