Update documentation about remove trimWhiteSpaceEnd

This commit is contained in:
Dimitry Ivanov 2018-09-04 13:17:29 +03:00
parent 20a814862e
commit e0f79179bb
2 changed files with 0 additions and 21 deletions

View File

@ -158,8 +158,6 @@ Or leave it empty and use the [link text itself].
Inline `code` has `back-ticks around` it.
<sup>*</sup>*Please note, that syntax highlighting is supported but library provides no means to do it automatically*
```javascript
var s = "JavaScript syntax highlighting";
alert(s);

View File

@ -183,25 +183,6 @@ If not provided explicitly, default `false` value will be used.
<Link name="commonmark-spec#soft-break" displayName="Commonmark specification" />
## Trim white space from end <Badge text="2.0.0" />
`trimWhiteSpaceEnd` option controls whether or not to trim white spaces from the
end of a document.
```java
SpannableConfiguration.builder(context)
.trimWhiteSpaceEnd(boolean)
.build();
```
If not provided explicitly, default `true` value will be used.
:::tip Before <Badge text="2.0.0" />
Before `2.0.0` version this functionality was _implicitly_ included in
`SpannableBuilder#text` method. This is no longer true and now `SpannableBuilder`
does not trim white spaces (which was by default and non-configurable)
:::
## HTML <Badge text="2.0.0" />
### Parser