Moodle

Smileys (emoticons) should be an optional filter like any other filter

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.3, 2.0
  • Fix Version/s: 2.0
  • Component/s: Filters, HTML Editor
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Users often complain about smileys interfering with other requirements and, in particular, with other text-based filters.

In order to give maximum flexibility I believe that smileys should be applied in a filter plugin in just the same way as all other filters. With this provision the user has complete control over what order in which they are applied and, indeed, if they applied at all.

Issue Links

Activity

Hide
Mauno Korpelainen added a comment -

It's the same for other math filters or even asciimathml included with theme meta.php

I already voted http://tracker.moodle.org/browse/MDL-17324 and you certainly get my vote here too...

Show
Mauno Korpelainen added a comment - It's the same for other math filters or even asciimathml included with theme meta.php I already voted http://tracker.moodle.org/browse/MDL-17324 and you certainly get my vote here too...
Hide
Mary Ann May-Pumphrey added a comment -

I teach a course on Selenium IDE (open-source test automation tool for web pages), which means my course notes include links to lots of little test cases which are constructed as 3-column HTML tables. I need to be able to show my students these test cases within a browser, then have them save each one to play with on their own. I am appalled that Moodle is mucking with these files in all sorts of ways--converting occurrences of "" from "regexp" into a frowning graphic emoticon, adding Moodle style sheets, converting a file name that is part of an URL within a test into a link to a Moodle resource with the same name, etc.

And I'm not clear what a filter even is. What I want (desperately!) is the ability to tell Moodle to leave my Files AS IS!

Will the resolution of this bug address at least part of my problem?

Show
Mary Ann May-Pumphrey added a comment - I teach a course on Selenium IDE (open-source test automation tool for web pages), which means my course notes include links to lots of little test cases which are constructed as 3-column HTML tables. I need to be able to show my students these test cases within a browser, then have them save each one to play with on their own. I am appalled that Moodle is mucking with these files in all sorts of ways--converting occurrences of "" from "regexp" into a frowning graphic emoticon, adding Moodle style sheets, converting a file name that is part of an URL within a test into a link to a Moodle resource with the same name, etc. And I'm not clear what a filter even is. What I want (desperately!) is the ability to tell Moodle to leave my Files AS IS! Will the resolution of this bug address at least part of my problem?
Hide
Eloy Lafuente (stronk7) added a comment -

Hi Mary Ann,

you can, in Moodle 1.9.x, disable completely the automatic replacement of emoticons from Admin -> Appearance -> HTML Editor. Just delete all those "pairs" and they won't be replaced anymore in your site at all.

Apart of that, yes, agree this will be a filter in Moodle 2.0, more with revamped filters, by context, coming in that release: http://docs.moodle.org/en/Development_talk:Filter_enable/disable_by_context

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Hi Mary Ann, you can, in Moodle 1.9.x, disable completely the automatic replacement of emoticons from Admin -> Appearance -> HTML Editor. Just delete all those "pairs" and they won't be replaced anymore in your site at all. Apart of that, yes, agree this will be a filter in Moodle 2.0, more with revamped filters, by context, coming in that release: http://docs.moodle.org/en/Development_talk:Filter_enable/disable_by_context Ciao
Hide
David Mudrak added a comment -

The new filter has been commited to 2.0

Show
David Mudrak added a comment - The new filter has been commited to 2.0

Dates

  • Created:
    Updated:
    Resolved: