diff --git a/CHANGELOG.md b/CHANGELOG.md index 28931d6f..aa38599f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +# 4.3.1-SNAPSHOT +* Fix DexGuard optimization issue ([#216])
Thanks [@francescocervone] + +[#216]: https://github.com/noties/Markwon/pull/216 +[@francescocervone]: https://github.com/francescocervone + # 4.3.0 * add `MarkwonInlineParserPlugin` in `inline-parser` module * `JLatexMathPlugin` now supports inline LaTeX structures via `MarkwonInlineParserPlugin` diff --git a/markwon-html/src/main/java/io/noties/markwon/html/tag/StrikeHandler.java b/markwon-html/src/main/java/io/noties/markwon/html/tag/StrikeHandler.java index 0ed1ef2b..37b3168d 100644 --- a/markwon-html/src/main/java/io/noties/markwon/html/tag/StrikeHandler.java +++ b/markwon-html/src/main/java/io/noties/markwon/html/tag/StrikeHandler.java @@ -25,6 +25,8 @@ public class StrikeHandler extends TagHandler { static { boolean hasMarkdownImplementation; try { + // @since $nap; we class Class.forName instead of trying + // to access the class by full qualified name (which caused issues with DexGuard) Class.forName("org.commonmark.ext.gfm.strikethrough.Strikethrough"); hasMarkdownImplementation = true; } catch (Throwable t) {