Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-7901

allow empty spans in multilang block

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.7
    • Fix Version/s: 1.8
    • Component/s: Filters
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      from docs:

      would both work, but not:
      If I want to include an explanation <span lang="en" class="multilang></span>
      <span lang="sv" class="multilang>(sv: förklaring)</span> in a running text can I do it?
      <br />If I want to include an explanation <span lang="sv" class="multilang>(sv: förklaring)</span>
      in a running text can I do it?<br />

      which would show the Swedish even if English was the chosen language. NOTE the "span lang=en" must contain something, at least a space.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            skodak Petr Skoda
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/07