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

#415: Images do not show up in cards where space in filename #416

Merged
merged 1 commit into from
May 11, 2017
Merged

#415: Images do not show up in cards where space in filename #416

merged 1 commit into from
May 11, 2017

Conversation

jholmes033169
Copy link
Contributor

Fixes Issue #415

- Summary

In the current behavior, cards will not show images that have a space in the filename. The solution was to encode spaces to %20 in the normalizePath() method. A more general path encoding should probably be put in place.

- Test plan

  1. Added new test markdown entry in example/index.html
  2. Ran example to visually inspect that the entries render, old and new

- Description for the changelog

normalizePath() now encodes white space to %20

- A picture of a cute animal (not mandatory but encouraged)

cute animal

@jholmes033169 jholmes033169 changed the title Fix #415: Images do not show up in cards where space in filename #415: Images do not show up in cards where space in filename May 11, 2017
Copy link
Contributor

@erquhart erquhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks! Agreed, we should probably farm this out to a third party lib at some point.

@jholmes033169
Copy link
Contributor Author

What is the general timing on a merge? Not pushing... just have clients griping at me about the photos not showing. Would love to tell them something.

Copy link
Contributor

@Benaiah Benaiah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for now. We'll want to get something more complete in the future.

@Benaiah Benaiah merged commit c9b5fb4 into decaporg:master May 11, 2017
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

Successfully merging this pull request may close these issues.

3 participants