Ticket #1785 (closed Bug: fixed)
New lines and extra whitespaces removed inside a <pre> tag
| Reported by: | laurentiusoica | Owned by: | wwalc |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Project : MediaWiki+FCKeditor | Version: | |
| Keywords: | Confirmed | Cc: |
Description
Inside a "formatted" block (pre tag), if i paste the following code
First line with no whitespaces Second line starting with two whitespaces Fourth line with three whitespaces after word "line"
and save the article:
1. the two whitespaces in the beginning of the second line are removed
2. the third line is removed
3. The two extra whitespaces after the word line in the fourth line are removed
more than that, if i reopen the article and try to split the first line in two new lines, "First line with no" and "whitespaces", and then i save the article, the new line is simply skipped (i'll still have a single line "First line with no whitespaces")
You can reproduce it on the sandbox.
Change History
Note: See
TracTickets for help on using
tickets.