Version increment 1.0.4

This commit is contained in:
Dimitry Ivanov 2018-03-18 11:47:59 +03:00
parent 92ad5a00ee
commit e050a95f86
4 changed files with 14 additions and 5 deletions

View File

@ -12,9 +12,9 @@
## Installation
```groovy
compile 'ru.noties:markwon:1.0.3'
compile 'ru.noties:markwon-image-loader:1.0.3' // optional
compile 'ru.noties:markwon-view:1.0.3' // optional
compile 'ru.noties:markwon:1.0.4'
compile 'ru.noties:markwon-image-loader:1.0.4' // optional
compile 'ru.noties:markwon-view:1.0.4' // optional
```
## Supported markdown features:

View File

@ -6,7 +6,7 @@ org.gradle.configureondemand=true
android.enableBuildCache=true
android.buildCacheDir=build/pre-dex-cache
VERSION_NAME=1.0.3
VERSION_NAME=1.0.4
GROUP=ru.noties
POM_DESCRIPTION=Markwon

View File

@ -66,7 +66,7 @@ public abstract class Markwon {
}
/**
* Helper method to apply parsed markdown. Please note, that if images or tables are used
* Helper method to apply parsed markdown.
*
* @param view {@link TextView} to set markdown into
* @param text parsed markdown

View File

@ -144,14 +144,23 @@ public class SpannableMarkdownVisitor extends AbstractVisitor {
@Override
public void visit(FencedCodeBlock fencedCodeBlock) {
// @since 1.0.4
visitCodeBlock(fencedCodeBlock.getInfo(), fencedCodeBlock.getLiteral());
}
/**
* @since 1.0.4
*/
@Override
public void visit(IndentedCodeBlock indentedCodeBlock) {
visitCodeBlock(null, indentedCodeBlock.getLiteral());
}
/**
* @param info tag of a code block
* @param code content of a code block
* @since 1.0.4
*/
private void visitCodeBlock(@Nullable String info, @NonNull String code) {
newLine();