Hi there,

Broadcast input format seems to be "text plain", it would be nice if could have at least Filtered HTML to have line breaks.

Comments

pomliane’s picture

subscribing

SebCorbin’s picture

Priority: Major » Critical
Status: Active » Needs work

Moving this to another level...

SebCorbin’s picture

Project: Drupal.org site moderators » Drupal.org infrastructure
Component: Localize.drupal.org » localize.drupal.org
Priority: Critical » Major

Changing project after reading carefully the main webmasters' page ;)

gábor hojtsy’s picture

Where would this configuration be? I don't know.

SebCorbin’s picture

It's in fact related to messaging & notifications: http://localize.drupal.org/admin/messaging/settings/method
This is set on plain text whereas the site-wide setting for input format is Filtered HTML (http://localize.drupal.org/admin/settings/filters/list).

gábor hojtsy’s picture

Status: Needs work » Fixed

Set it to filtered HTML. Not sure what effect will this have? HTML emails will be sent? Or what's the usefulness of the change?

gábor hojtsy’s picture

Priority: Major » Normal
Status: Fixed » Active

This also had side effects, so rolled back. See http://drupal.org/node/664998#comment-5125308

SebCorbin’s picture

Status: Active » Needs review

Configured the "Messaging plain text" input format to use the "Plain text" filter instead of "HTML to text" on my local installation.

Tested with contact mails, immediate notifications mail, broadcast mail: all good.
Unfortunately, I can't get the notifications digests (every hour, daily, etc.) to work on my installation.

gábor hojtsy’s picture

That sounds like it would mean that if you have a HTML list (ul and such) in the post, it would appear garbled because the "nice" formatter did not run on it?

SebCorbin’s picture

Tested a Story content with some HTML in it :

<h2>Some H2</h2>
<ul>
<li>And some items
<li>In a list
<li>with strong <strong>content</strong>
</ul>

And some line
breaks

Ends up in notification mail with "Plain text" filter :

Greetings, SebCorbin,
A Story has been created in group French team: test
Some H2


And some items


In a list


with strong content



And some line

breaks


Read more at http://localhost/Drupal/ldo/node/3997.

Whereas with HTML filter :

Greetings, SebCorbin, A Story has been created in group Maltese team: test 2
-------- SOME H2 -------------------------------------------------------------

* And some items
* In a list
* with strong *content*

And some line
breaks

Read more at http://localhost/Drupal/ldo/node/3998. -- This is an automatic message from localize.drupal.org To manage your subscriptions, browse to http://localhost/Drupal/ldo/user/3748/notifications
SebCorbin’s picture

Figured out how to have a nice mail in every case : configure the "Messaging plain text" format with the two filters "HTML to text" and "Line break converter" then rearrange them putting the line break converter first.

Sorry for the delay :)

gábor hojtsy’s picture

Status: Needs review » Fixed

Ok, done this. Looking forward to how its going to work or break. Please reopen if it caused issues.

SebCorbin’s picture

Just broadcasted a mail, all good.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gábor hojtsy’s picture

Project: Drupal.org infrastructure » localize.drupal.org
Component: localize.drupal.org » User interface

Moving to new queue (sorry for issue-bombing).