Skip to content

Unable to remove the part containing '--- Forwarded message ---' #220

@chenxg283

Description

@chenxg283

hi, if my email content is like below:

"""reply

----- Forwarded message ----

some forwarded text"""

the markers will be "tefet".

However, in the function "process_marked_lines" in quotations.py, there is this code:
if re.match('[te]*f', markers):
return_flags[:] = [False, -1, -1]
return lines

This will return the whole email content as the reply without removing the "---- Forwarded message ----" and subsequent text.

Is this intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions