Moodle

Undesirable HTML tags in language strings

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 2.0.2
  • Component/s: Language
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Many language strings contain HTML markup, which introduces layout elements in the languages. This is fine for lists, line breaks and paragraph breaks within the text, but there are many instances where the markup should be taken out of the language strings and into the code.

See http://pastebin.ca/948574 for an example

Issue Links

Activity

Hide
Nicolas Martignoni added a comment -

And what about HTML entities, like & and   (the latter being often used in french lang pack)? These don't get parsed correctly by function p() and print litteraly, e.g. $string['usergroupmembership'] in group/members.php, line 281.

Show
Nicolas Martignoni added a comment - And what about HTML entities, like & and   (the latter being often used in french lang pack)? These don't get parsed correctly by function p() and print litteraly, e.g. $string['usergroupmembership'] in group/members.php, line 281.
Hide
Nicolas Martignoni added a comment -

Sorry, I realise that my comment is OT . See MDL-13975 for this issue.

Show
Nicolas Martignoni added a comment - Sorry, I realise that my comment is OT . See MDL-13975 for this issue.
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Nicolas Martignoni added a comment -

AFAIK, fixed with Moodle 2.0 language migration.

Show
Nicolas Martignoni added a comment - AFAIK, fixed with Moodle 2.0 language migration.
Hide
Helen Foster added a comment -

Thanks Nicolas for your comment, closing as fixed.

Show
Helen Foster added a comment - Thanks Nicolas for your comment, closing as fixed.

People

Dates

  • Created:
    Updated:
    Resolved: