Smart picker drops formatting
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Set up an IMAP account
- Install and enable https://apps.nextcloud.com/apps/text_templates
- Set up a text template that has line breaks
- Open the Mail app
- Click New message
- Open the action menu and click Add link
- Select text templates
- Pick a template
Expected behavior
Line breaks are preserved
Actual behavior
Line breaks do not show as such
Mail app version
3.0
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Web server
None
Database
None
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Mail app version 3.0 using an IMAP account and the text_templates app, following the listed smart picker and Add link steps. Trace the action-menu template insertion flow and verify that selecting a template preserves its line breaks in the new message composer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100