v1.4.1
Including self text in exports
This commit is contained in:
parent
303594fff4
commit
6c20a69660
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ var pd = {
|
|||
if (pd.exportIds.indexOf(item.data.id) == -1) {
|
||||
str = '';
|
||||
str += pd.helpers.csvCell(pd.helpers.csvEscape(item.data.title ? item.data.title : ''));
|
||||
str += pd.helpers.csvCell(pd.helpers.csvEscape(item.data.body ? item.data.body : ''));
|
||||
str += pd.helpers.csvCell(pd.helpers.csvEscape(item.data.body ? item.data.body : (item.data.selftext ? item.data.selftext : '')));
|
||||
str += pd.helpers.csvCell(item.data.permalink ?
|
||||
'http://reddit.com'+item.data.permalink :
|
||||
'http://reddit.com/r/'+item.data.subreddit+'/comments/'+(item.data.link_id.replace(/^t\d_/,''))+'/x/'+item.data.id+'?context=3'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue