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

purify_html() strips ruby tags

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Automated test

      • Run the PHPUnit tests in lib/tests/weblib_test.php.

      Manual test

      • In a forum, use Atto to enter the following HTML: <ruby><rb>日本</rb><rp>(</rp><rt>にほん</rt><rp>)</rp></ruby>
      • View the forum and ensure that the HTML has not been stripped.
      Show
      Automated test Run the PHPUnit tests in lib/tests/weblib_test.php. Manual test In a forum, use Atto to enter the following HTML: <ruby><rb>日本</rb><rp>(</rp><rt>にほん</rt><rp>)</rp></ruby> View the forum and ensure that the HTML has not been stripped.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-50868-master
    • Sprint:
      Team Beards Sprint 9

      Description

      As per topic - purify_html() in weblib.php strips ruby tags - ruby, rb, rp, and rt. This can easily be rectified.

      I need this to land before I can put https://github.com/jethac/moodle-atto_ruby up publicly on the plugins db.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jethac Jetha Chan
                Reporter:
                jethac Jetha Chan
                Peer reviewer:
                Adrian Greeve
                Integrator:
                Dan Poltawski
                Tester:
                Ryan Wyllie
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Sep/15