Comments (6)
From https://www.w3schools.com/tags/tag_pre.asp
The <pre> tag defines preformatted text.
Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The text will be displayed exactly as written in the HTML source code.
from tmpmail.
Thanks, looks good now.
from tmpmail.
@belzebub40k The issue has been fixed in #16, thanks to @rjhbrunt
from tmpmail.
Thanks but it solves the problem only partly. With w3m the mails are not displayed correctly because \n
is used for newlines in plaintext instead of <br/>
. I suggest to add <pre></pre>
around textBody
.
[ -z "$HTML_BODY" ] && HTML_BODY="<pre>$(jq -r ".textBody" <<<"$DATA")</pre>"
from tmpmail.
@belzebub40k How does using<pre>
fix the issue?
from tmpmail.
@belzebub40k I added the pre tags in the latest commit 6694ede
Could you check everything is working fine?
from tmpmail.
Related Issues (20)
- name generation error HOT 6
- Add support to GuerrillaMail HOT 7
- Hi, can it receive email with attachment? HOT 4
- shuf is not POSIX-compliant HOT 3
- New line HOT 2
- Generate address and paste it into clipboard? HOT 2
- 1secmail API does not support the following usernames: HOT 1
- tmpmail on Homebrew! HOT 6
- tag releases HOT 2
- Version number discrepancy HOT 1
- Error message HOT 1
- Error: Could not find 'w3m', is it installed? on macOS HOT 1
- Request for Pacstall Support HOT 1
- An option to copy email address to clipboard HOT 2
- Unknown release commit HOT 2
- integer expression expected HOT 1
- Cannnot open emails.
- Is it possible to use another API with doing no change on script? HOT 1
- add support for other clipboard
- What timezone are 1secmails in?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmpmail.