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

Render course remove ID's from labels html when "login as..." student

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_39_STABLE

    Description

      When you view a course were you used to create a few labels with a custom HTML, for example with a simple code like:

      <div id="myID" class="myClass">this is a label</div>

      When you save and come back to he course, if you look the code, looks okay, there is no problem

      Now we're going to use the function "login as..." to try to see how a student can see our content. Then, if we finally login as a student, this is the simple code that render in the course-view:

      <div class="myClass">this is a label</div>

      Fully remove the ID's saved in the editor only if we use the function "login as...", if not, all work okay

      I dont know if thats normal or not, because i want to use multiple labels with a custom HTML (using IDs) to work with jQuery/jQueryUI tabs and other functions that need to work with ID's (tabs, accordions, etc...) and if i have a student with any problem and render the page, most of the page doesnt work well

      Attachments

        Activity

          People

            Unassigned Unassigned
            kraciboy@gmail.com David
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: