mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
stripped-html should be considered html and not plain (for newsletters). Was causing encoding issues.
This commit is contained in:
parent
c3dee67c29
commit
4e3e5c7637
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ class EmailNewsletter:
|
|||
return params['body-enriched']
|
||||
if 'body-html' in params and not force_plain:
|
||||
return params['body-html']
|
||||
if 'stripped-html' in params:
|
||||
return linkify(linebreaks(params['stripped-html']))
|
||||
if 'stripped-html' in params and not force_plain:
|
||||
return params['stripped-html']
|
||||
if 'body-plain' in params:
|
||||
return linkify(linebreaks(params['body-plain']))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue