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

Custom text is not constrained to specific image #3

Closed
su opened this issue Aug 27, 2012 · 0 comments
Closed

Custom text is not constrained to specific image #3

su opened this issue Aug 27, 2012 · 0 comments
Labels

Comments

@su
Copy link

su commented Aug 27, 2012

The custom text feature filters "down" to subsequent images in a document, rather than being limited to the one it was specified on, eg:

<img src="holder.js/200x200/text:foo" alt="" />
<img src="holder.js/200x200" alt="" />
<img src="holder.js/200x200" alt="" />
<img src="holder.js/200x200/text:bar" alt="" />

…results in three images captioned "foo" followed by the fourth with "bar.

Can currently be worked around by passing an empty text parameter to stop the propagation, eg:

<img src="holder.js/200x200/text:" alt="" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants