Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prevent <br> added to block elements. #58

Closed
jrmyio opened this issue Nov 21, 2013 · 2 comments
Closed

How to prevent <br> added to block elements. #58

jrmyio opened this issue Nov 21, 2013 · 2 comments

Comments

@jrmyio
Copy link

jrmyio commented Nov 21, 2013

I currently have an issue with block elements getting these extra
.

For example:

[b]Bold[/b]
[qoute]test[/quote]

gets converted to <b>Bold</b><br><blockquote>

However, since blockquote and (some other tags) are block elements shouldn't this
at the end be removed?

Is there any way setting to prevent a filter from doing this?

@milesj
Copy link
Owner

milesj commented Nov 21, 2013

There isn't a smart way to deal with this. You're adding a newline before the quote, hence the <br>. I usually solved this by messing with CSS margins.

@milesj
Copy link
Owner

milesj commented Nov 25, 2013

I will not be fixing this.

@milesj milesj closed this as completed Nov 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants