Edit mode when not logged in, shows textarea field with source text "as button"
Steps to reproduce
This happens on a DokuWiki page that a user can read but cannot edit
Click on 'Edit' button (or add ?do=edit to the url) to view the source text.
The source text will show as a
Expected behavior:
As in previous versions of bootstrap 3, the source text should be shown as a grayed out field with all the text shown including newspaces between paragraphs.
(See screenshot 2)
Actual behavior: [What actually happened]
The complete source text is shown on one line, and the field looks like a green success button when one hovers over it with the mouse pointer.
(See screenshot 1)
Description
Edit mode when not logged in, shows textarea field with source text "as button"
Steps to reproduce
Expected behavior: As in previous versions of bootstrap 3, the source text should be shown as a grayed out field with all the text shown including newspaces between paragraphs. (See screenshot 2)
Actual behavior: [What actually happened] The complete source text is shown on one line, and the field looks like a green success button when one hovers over it with the mouse pointer. (See screenshot 1)
Versions
Screenshots or Logs
Screenshot showing issue before fix.
Screenshot after fix.
Suggested fix
File is ./lib/tpl/bootstrap3/EventHandlers.php
ORIGINAL
FIX