Loading...
 
Skip to main content

WYSIWYG editor adds extra tags

Status
Closed
Subject
WYSIWYG editor adds extra <br> tags
Version
2.x
Category
  • Usability
Feature
WYSIWYG (What You See is What You Get)
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
Fixed or Solved
Submitted by
elizaz
Lastmod by
Ushindi Gedeon
Rating
(0)
Description
When you edit text using the WYSIWYG editor, extra <br /> tags are added when the text is displayed in preview or when it is saved. These break tags do not show up when you try to edit the page again, making them impossible to remove.


For example, if the markup in the WYSIWYG editor, when you view the source, is as follows:

<p>This is some text.<br />This is some more text, on a new line</p>


What shows up when you view the source of the page that is generated after you save/preview is as follows:

<p>This is some text.<br /><br />This is some more text, on a new line</p><br />


As a result of this, the spacing on pages edited by the WYSIWYG editor is bizarre and stretched out.

Solution
Workaround
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2634
Created
Thursday 16 July, 2009 19:55:43 UTC
by Unknown
LastModif
Wednesday 27 May, 2026 07:15:53 UTC


Show PHP error messages