https://bugzilla.wikimedia.org/show_bug.cgi?id=65017

            Bug ID: 65017
           Summary: NTOC strips newlines on paste
           Product: MediaWiki
           Version: 1.22.5
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Page editing
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

When pasting text from a text editor into editor window with 'Navigable Table
Of Contents' turned on, newlines are automagically removed on save/preview.

Browsers tested: Chrome.
OSs tested: Linux, and have asked a friend to check Windows Will update.

Steps to reproduce:
1) Turn on 'Navigable Table Of Contents' in Preferences/Editor
2) Open page for editing.
3) Copy text from text editor containing newlines.
4) Paste text into editor (it will show correctly)
5) Save or preview.

Pasted text will have all newlines removed (not replaced with whitespace). The
version in the editor window will also lack newlines now.

Workaround: Disable 'Navigable table of contents' in preferences/edit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to