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

The Glossary entry print view uses the tag <p align="center"> and the align attribute is not valid in XHTML 1.0 Strict

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: Accessibility, Glossary
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Instead of
      <p align="center">
      we should use
      <p style="text-align: center">

      This is done by modify the file: /moodle/mod/glossary/print.php
      We should change the line:
      echo "<p align=\"center\"><strong>".clean_text($pivottoshow)."</strong></p>" ;
      for
      echo "<p style=\"text-align: center\"><strong>".clean_text($pivottoshow)."</strong></p>" ;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dongsheng Dongsheng Cai
              Reporter:
              david.horat David Horat
              Tester:
              David Horat
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Jan/09