Opened 9 years ago

Closed 9 years ago

# wysiwyg editor doesn't handle [[br]] tags

Reported by: Owned by: jasonsalge-trachacks@… jun66j5 normal TracWysiwygPlugin normal 0.10

### Description

It appears that the "br" tag is not handled by the Wysiwyg editor. If I type this into the "normal" editor:

Testing 1 2 3[[br]]
This is the second line[[br]]
This is the third line[[br]]


But when I bring it up in the wysiwyg editor I get:

Testing 1 2 3[[br]] This is the second line[[br]] This is the third line[[br]]


At least both cases result in properly formatted code:

Testing 1 2 3
This is the second line
This is the third line


I guess I would expect two things:

1. Newlines would be shown properly when editing a document with [[br]].
2. There would be an easy way to enter a newline through the editor.

It's entirely possible that either my expectations are off base or this is difficult/impossible to do. If so, accept my apologies. Either way, this component is going to make it easier for my non-technical users. Thanks!

### comment:1 Changed 9 years ago by jun66j5

• Resolution set to fixed
• Status changed from new to closed

(In [2732]) fixed #2128 - fix a bug when [[BR]] macro is lower-case.