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

purify_html() strips ruby tags

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-50868-master
    • 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.
    • Team Beards Sprint 9

      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.

            jethac Jetha Chan
            jethac Jetha Chan
            Adrian Greeve Adrian Greeve
            Dan Poltawski Dan Poltawski
            Ryan Wyllie Ryan Wyllie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.