It would be extremely useful to have a raw_text property on entries, to be able to more efficiently do things like:
{% if 'amzn.to' in entry.raw_text %}Some links may earn me a commission.{% endif %}
or the like.
Current Behavior
You can only do string manipulation on the already-processed entry body + more, which requires more processing that will just be discarded, especially for entries which have images.
Possible Solution
class Entry:
...
@cached_property
def raw_text(self):
return self._message.get_payload()
Expected Behavior
It would be extremely useful to have a
raw_text
property on entries, to be able to more efficiently do things like:or the like.
Current Behavior
You can only do string manipulation on the already-processed entry body + more, which requires more processing that will just be discarded, especially for entries which have images.
Possible Solution
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context