Details
Description
While testing http://moodle.org/mod/forum/discuss.php?d=114466
I've detected that something in blogs is causing wrong output of contents. After some reseach, it seems that the blog_print_entry() function performs a format_text() with contents twice:
$template['body'] = format_text($blogEntry->summary, $blogEntry->format);
...
...
echo format_text($template['body']);
with the second call, breaking the output generated by the first, noticeable <object> tags and so on from filters.
So I'm going to erase the second call, outputting directly $template['body'] that has been already processed.
For QA: After being applied, filters generated content (multimedia, multimovie...), should be present in output. Now it isn't.
Ciao ![]()
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
Done in 18_STABLE, 19_STABLE and HEAD. Now content introduced by filters isn't broken by the 2nd call to format_text()
Resolving as fixed. Ciao