Ckeditor removes <br/"> when br is in allowed content
There are a few bits missing from your post, not sure why, or what you were trying to say.
If you said you wanted to add, say, clear="all"
to tags <br />
, you can use this to update your allowed content:
config.AllowedContent = "br[clear]";
Separate individual elements with ;
.
Here is a link to AllowedContent rules in the documentation:
http://docs.ckeditor.com/#!/guide/dev_allowed_content_rules
I keep this bit in the comments above my AllowedContent declaration as a reminder:
elements [attributes]{styles}(classes)
If this is not what you asked for, forgive me, again, there are some parts missing from your post. If you can update it and let me know, I'll revert to this answer.
== EDIT ==
Ok, I just looked at editing the post and it looks like you had "naked" tags in your question <br />
that turned into actual line breaks.
What you see is that the editor enforces the HTML. BR tags should always be formatted as such: <br />
(note the space)
source to share