Moodle

HTML editor eats line breaks in HTML source

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.5
  • Fix Version/s: None
  • Component/s: HTML Editor
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_15_STABLE

Description

The attached file contains some HTML source that have some line breaks between text that should not affect rendering (white space). If you paste this source to HTML Editor (in source mode), go to visual mode and back to source mode, the whitespace is removed, including the space between words, that become glued together.

Issue Links

Activity

Hide
Mathieu Petit-Clair added a comment -

I believe the "words become glued together" bug has been fixed sinced 1.6. If not, please send a file that I can test with.

The issue with the source being reformatted is still present, and unfortunately, it's also there in TinyMCE (which has been integrated in 2.0).

Show
Mathieu Petit-Clair added a comment - I believe the "words become glued together" bug has been fixed sinced 1.6. If not, please send a file that I can test with. The issue with the source being reformatted is still present, and unfortunately, it's also there in TinyMCE (which has been integrated in 2.0).

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: