Replies

Jan 23, 2018 8 years ago
Paula_459
is ALL about art
User Avatar
Qar

When I try to send via smail something like this:

Lorem ipsum dolor sit amet consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<style> url('https://fonts.googleapis.com/css?family=Bree+Serif'); </style>

It's sent like this:

Lorem ipsum dolor sit amet consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

[style]

url('https://fonts.googleapis.com/css?family=Bree+Serif');

[/style]

Like code tabs are changing the code inside it. Via comment or on the forums this is not happening.

Jan 23, 2018 8 years ago Official
Bug
User Avatar
Segfault

Pushed a fix, hope it works! (sMails sent before the fix will not be fixed retroactively though!)

I would not send code through sMails though, I would use a pastebin or something to be safe. Our sMail page is pretty old so I would avoid sending code especially long code blocks through it, at least until sMail itself can be updated to more modern standards.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jan 23, 2018 8 years ago
Paula_459
is ALL about art
User Avatar
Qar

Thank you for your help and your suggestion, I'll start doing that :)

Please log in to reply to this topic.