Update CHANGELOG

This commit is contained in:
Dimitry Ivanov 2020-03-24 08:58:39 +03:00
parent cca24090c1
commit abeb5044af
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
# 4.3.1-SNAPSHOT
* Fix DexGuard optimization issue ([#216])<br>Thanks [@francescocervone]
[#216]: https://github.com/noties/Markwon/pull/216
[@francescocervone]: https://github.com/francescocervone
# 4.3.0 # 4.3.0
* add `MarkwonInlineParserPlugin` in `inline-parser` module * add `MarkwonInlineParserPlugin` in `inline-parser` module
* `JLatexMathPlugin` now supports inline LaTeX structures via `MarkwonInlineParserPlugin` * `JLatexMathPlugin` now supports inline LaTeX structures via `MarkwonInlineParserPlugin`

View File

@ -25,6 +25,8 @@ public class StrikeHandler extends TagHandler {
static { static {
boolean hasMarkdownImplementation; boolean hasMarkdownImplementation;
try { 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"); Class.forName("org.commonmark.ext.gfm.strikethrough.Strikethrough");
hasMarkdownImplementation = true; hasMarkdownImplementation = true;
} catch (Throwable t) { } catch (Throwable t) {