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

Img class attr is getting &nbsp added #26

Closed
ghost opened this issue Sep 18, 2015 · 2 comments
Closed

Img class attr is getting &nbsp added #26

ghost opened this issue Sep 18, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 18, 2015

I noticed that images inserted via the content editor are getting   added to the class attr, which is breaking layouts for things like: .alignright as what is being output is class=" alignright "

The source of the issue is in post.php around line 191 add_filter( 'the_content', 'bfg_hard_space_expressions' );

@cdukes
Copy link
Owner

cdukes commented Sep 20, 2015

Are you using the latest version? bfg_hard_space_expressions was removed in a5470f5

@ghost
Copy link
Author

ghost commented Sep 20, 2015

Hi @cdukes ...Aha yes I see now, thanks for the headsup! I was using a version from a few weeks back.

@cdukes cdukes closed this as completed Sep 20, 2015
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

1 participant