mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-11-11 23:07:54 +03:00
rebuilt tests using tape, prova.
This commit is contained in:
1 parent
95de8eb395
commit
d0935730b8
17 files changed
+597
-495
No files matched your search
@@ -59,10 +59,11 @@ feed.item(itemOptions);
|
||||
#### Feed XML
|
||||
|
||||
```js
|
||||
var xml = feed.xml(indent);
|
||||
var xml = feed.xml({indent: true});
|
||||
```
|
||||
|
||||
This returns the XML as a string.
|
||||
|
||||
`indent` _optional_ **string** What to use as a tab. Defaults to no tabs (compressed).
|
||||
For example you can use `'\t'` for tab character, or `' '` for two-space tabs.
|
||||
`indent` _optional_ **boolean or string** What to use as a tab. Defaults to no tabs (compressed).
|
||||
For example you can use `'\t'` for tab character, or `' '` for two-space tabs. If you set it to
|
||||
`true` it will use four spaces.
|
||||
Reference in new issue
Block a user