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

TinyMCE - Adding </p> & <p> before and after the <nolink> & </nolink> tags respectively when saved.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.3.3
    • Filters
    • MOODLE_23_STABLE

      When...

      <p> TYPE <nolink> SOMETHING </nolink> TYPE </p>
      

      ...is entered into TinyMCE, when it is saved it gets reformatted to...

      <p> TYPE </p><nolink>SOMETHING</nolink><p>TYPE</p>
      

      ...which is presented as...

      TYPE 
       
      SOMETHING 
       
      TYPE 
      

      Steps to replicate:

      1. Create a Label in a Course Go to HTML mode in TinyMCE
      2. Add the following.

        <p> TYPE <nolink> SOMETHING </nolink> TYPE </p>
        

      Actual result: The text is formatted as shown above.

      Expected result: It would be that it would be a complete sentence with no line breaks.

            moodle.com Moodle HQ
            kmccarthy Kevin McCarthy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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