Add few versioning comments

This commit is contained in:
Dimitry Ivanov 2018-08-14 11:44:15 +03:00
parent 171467a50d
commit b0e548ce50
3 changed files with 8 additions and 0 deletions

View File

@ -56,6 +56,9 @@ public interface SpannableFactory {
boolean isHeader,
boolean isOdd);
/**
* @since 1.1.1
*/
@Nullable
Object paragraph(boolean inTightList);

View File

@ -103,6 +103,9 @@ public class SpannableFactoryDef implements SpannableFactory {
return new TableRowSpan(theme, cells, isHeader, isOdd);
}
/**
* @since 1.1.1
*/
@Nullable
@Override
public Object paragraph(boolean inTightList) {

View File

@ -388,6 +388,8 @@ public class SpannableMarkdownVisitor extends AbstractVisitor {
final int length = builder.length();
visitChildren(paragraph);
// @since 1.1.1 apply paragraph span
setSpan(length, factory.paragraph(inTightList));
if (!inTightList) {