Update documentation about remove trimWhiteSpaceEnd
This commit is contained in:
parent
20a814862e
commit
e0f79179bb
@ -158,8 +158,6 @@ Or leave it empty and use the [link text itself].
|
|||||||
|
|
||||||
Inline `code` has `back-ticks around` it.
|
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
|
```javascript
|
||||||
var s = "JavaScript syntax highlighting";
|
var s = "JavaScript syntax highlighting";
|
||||||
alert(s);
|
alert(s);
|
||||||
|
@ -183,25 +183,6 @@ If not provided explicitly, default `false` value will be used.
|
|||||||
|
|
||||||
<Link name="commonmark-spec#soft-break" displayName="Commonmark specification" />
|
<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" />
|
## HTML <Badge text="2.0.0" />
|
||||||
|
|
||||||
### Parser
|
### Parser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user