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

Superscript/subscript doesn't toggle correctly when other tags are used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: HTML Editor (Atto)
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      If you choose formatting while in sup/sub clicking the sub/sup button will make you go another level into sub/sup instead of returning to normal:

      1. Click Subscript
      2. Write something
      3. Click underscore
      4. Write something
      5. Click Subscript
      6. You're on another level of sub instead of back to normal

      Example result code:
      <p>a<sub>b<strike>c<sub>d</sub></strike></sub></p>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jkania Jakub Kania
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: