Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for interpretable escapes #349

Merged
merged 1 commit into from
Jan 31, 2021

Conversation

caronc
Copy link
Owner

@caronc caronc commented Jan 31, 2021

Description:

Related issue (if applicable): #347

This Pull Request allows you to provide a --interpret-escapes (-e) to the command line to pre-process escaped entries (similar to how the echo tools -e switch works. Hence the following would allow you to convert the \n into a new line:

apprise -vv -e -t "title" -b "body\nNewLine\nAnotherLine" mailto://user:pass@gmail.com
#           ^^
#           ||
#           The new switch

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use flake8)
  • 100% test coverage

@caronc caronc force-pushed the 347-support-interpretable-escapes branch 2 times, most recently from fddaa9f to a433cca Compare January 31, 2021 22:09
@caronc caronc force-pushed the 347-support-interpretable-escapes branch from a433cca to 7d95c08 Compare January 31, 2021 22:10
@caronc caronc merged commit fec6de1 into master Jan 31, 2021
@caronc caronc deleted the 347-support-interpretable-escapes branch February 6, 2021 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant