From c661eb486da9e40343e39e3232d90ed7c4ca8526 Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Thu, 30 Apr 2020 16:30:33 +0300 Subject: [PATCH] Update jlatexmath-android dependency --- CHANGELOG.md | 7 +++++-- build.gradle | 2 +- .../java/io/noties/markwon/sample/html/HtmlActivity.java | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad07bb3b..ef2a326b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,14 @@ * `TextViewSpan` to obtain `TextView` in which markdown is displayed (applied by `CorePlugin`) * `TextLayoutSpan` to obtain `Layout` in which markdown is displayed (applied by `TablePlugin`, more specifically `TableRowSpan` to propagate layout in which cell content is displayed) * `HtmlEmptyTagReplacement` now is configurable by `HtmlPlugin`, `iframe` handling ([#235]) -* `AsyncDrawableLoader` now uses `TextView` width without padding instead of width of canvas +* `AsyncDrawable` now uses `TextView` width without padding instead of width of canvas * Support for images inside table cells (`ext-tables` module) -* expose `enabledBlockTypes` in `CorePlugin` +* Expose `enabledBlockTypes` in `CorePlugin` +* Update `jlatexmath-android` dependency ([#225]) [#235]: https://github.com/noties/Markwon/issues/235 +[#225]: https://github.com/noties/Markwon/issues/225 + # 4.3.1 * Fix DexGuard optimization issue ([#216])
Thanks [@francescocervone] diff --git a/build.gradle b/build.gradle index 89b122ad..fe9e32a0 100644 --- a/build.gradle +++ b/build.gradle @@ -72,7 +72,7 @@ ext { 'commonmark-table' : "com.atlassian.commonmark:commonmark-ext-gfm-tables:$commonMarkVersion", 'android-svg' : 'com.caverock:androidsvg:1.4', 'android-gif' : 'pl.droidsonroids.gif:android-gif-drawable:1.2.15', - 'jlatexmath-android' : 'ru.noties:jlatexmath-android:0.2.0-SNAPSHOT', + 'jlatexmath-android' : 'ru.noties:jlatexmath-android:0.2.0', 'okhttp' : 'com.squareup.okhttp3:okhttp:3.9.0', 'prism4j' : 'io.noties:prism4j:2.0.0', 'debug' : 'io.noties:debug:5.0.0@jar', diff --git a/sample/src/main/java/io/noties/markwon/sample/html/HtmlActivity.java b/sample/src/main/java/io/noties/markwon/sample/html/HtmlActivity.java index ca18d6c6..1f289f79 100644 --- a/sample/src/main/java/io/noties/markwon/sample/html/HtmlActivity.java +++ b/sample/src/main/java/io/noties/markwon/sample/html/HtmlActivity.java @@ -44,7 +44,7 @@ public class HtmlActivity extends ActivityWithMenuOptions { .add("randomCharSize", this::randomCharSize) .add("enhance", this::enhance) .add("image", this::image) - .add("elegantUnderline", this::elegantUnderline) +// .add("elegantUnderline", this::elegantUnderline) .add("iframe", this::iframe) .add("emptyTagReplacement", this::emptyTagReplacement); } @@ -60,8 +60,8 @@ public class HtmlActivity extends ActivityWithMenuOptions { // let's define some custom tag-handlers textView = findViewById(R.id.text_view); - - elegantUnderline(); + + emptyTagReplacement(); } // we can use `SimpleTagHandler` for _simple_ cases (when the whole tag content