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

whitespace stripped from between inline elements #25

Open
adrianwhite opened this issue Nov 11, 2013 · 0 comments
Open

whitespace stripped from between inline elements #25

adrianwhite opened this issue Nov 11, 2013 · 0 comments

Comments

@adrianwhite
Copy link

If you have two inline html elements one after another Diazo will strip the whitespace from between them.
E.g.

<img src="/bah"/> <span>Foo</span> 

after passing through Diazo the space is stripped, there will be no space between the image and 'Foo'.

This occurs everywhere in Plone's interface when using custom content types, e.g. the add new menu in the edit bar, the folder contents view, the related content browser overlays.

This of course is not just restricted to use of custom content types it is anywhere in your templates that you use multiple sibling inline html elements.

screen shot 2013-11-11 at 12 35 52

screen shot 2013-11-11 at 12 35 24

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