NOMDL Workshop: Improved detection of filled description and instructions
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 19 Jul 2010 13:20:50 +0000 (13:20 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 19 Jul 2010 13:20:50 +0000 (13:20 +0000)
commitbfbca63de38ed66b4af403a1bffab676e8186965
tree16f7202ac890079e572e4414a9f8abfb88b101dd
parentec9132b5bb5ef8844e3a672e64f1a7a56e36ac10
NOMDL Workshop: Improved detection of filled description and instructions

The function strip_tags() used to be here as a way around a bug in
TinyMCE producing empty <br /> instead of empty string. This lead to the
unwanted behaviour that Workshop description of instructions consisting
of <img> only were considered as empty. The TinyMCE seems to produce
correct string now so this is not needed any more.
mod/workshop/locallib.php
mod/workshop/view.php