Moodle

Please put back limited HTML in resource and activity names

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.3, 1.9
  • Fix Version/s: 1.9.3
  • Component/s: Course
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

As far as I can tell, all activity and resource names have had their tags stripped for the last few versions. This has caused numerous user complaints. For example, teachers on a botany course want to put the latin name of a plant in italics as this is the correct format. It would only need to be a very limited range of tags, probably just bold and italic.

Issue Links

Activity

Hide
Mauno Korpelainen added a comment -

Howard,
there is one way to do it:

<span style="font-weight:bold">Test</span>

<span style="font-style:italic">Test</span>

Show
Mauno Korpelainen added a comment - Howard, there is one way to do it: <span style="font-weight:bold">Test</span> <span style="font-style:italic">Test</span>
Hide
Petr Škoda (skodak) added a comment -

should be fixed in cvs,
Helen: could you please review the new lang strings?

thanks for the report

Show
Petr Škoda (skodak) added a comment - should be fixed in cvs, Helen: could you please review the new lang strings? thanks for the report
Hide
Helen Foster added a comment -

As the setting appears to only affect activity and resource names, and not forum post titles, or blog entry titles, I suggest the following small rewording:

$string['stripalltitletags'] = 'Remove HTML tags from all activity names';
$string['configstripalltitletags'] = 'Uncheck this setting to allow HTML tags in activity and resource names.';

Documentation added:

http://docs.moodle.org/en/HTML_settings

Show
Helen Foster added a comment - As the setting appears to only affect activity and resource names, and not forum post titles, or blog entry titles, I suggest the following small rewording: $string['stripalltitletags'] = 'Remove HTML tags from all activity names'; $string['configstripalltitletags'] = 'Uncheck this setting to allow HTML tags in activity and resource names.'; Documentation added: http://docs.moodle.org/en/HTML_settings
Hide
Helen Foster added a comment -

Lang string rewording in cvs.

Howard, thanks for suggesting this improvement and Petr, thanks for implementing it

Show
Helen Foster added a comment - Lang string rewording in cvs. Howard, thanks for suggesting this improvement and Petr, thanks for implementing it
Hide
Howard Miller added a comment -

Cool.... thanks

Show
Howard Miller added a comment - Cool.... thanks

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: