Non-core contributed modules

Messages not properly formatted

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Block: Email_list
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

When displaying a message, the message body is formated using FORMAT_MOODLE (email/email.class.php:1418):

$html .= format_text($this->body, FORMAT_MOODLE, $options );

Messages are HTML, so the correct format to use is FORMAT_HTML (see http://docs.moodle.org/en/Formatting_options). With FORMAT_MOODLE some messages are not displayed correctly.

Activity

Hide
Toni Mas added a comment -

Changed FORMAT_MOODLE to FORMAT_HTML.

Show
Toni Mas added a comment - Changed FORMAT_MOODLE to FORMAT_HTML.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: