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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.3
    • 1.9.4
    • Accessibility, Glossary
    • None
    • MOODLE_19_STABLE
    • 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

              dongsheng Dongsheng Cai
              david.horat David Horat
              David Horat David Horat
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Jan/09