Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Fix npmsearchlist #654

Merged
merged 3 commits into from Jan 5, 2018
Merged

Fix npmsearchlist #654

merged 3 commits into from Jan 5, 2018

Conversation

timkelty
Copy link
Contributor

@timkelty timkelty commented Jan 4, 2018

Fixes #653

I'm guessing maybe npms.io changed how they encode spaces?

Probably want to change README in https://github.com/eliperelman/gitbook-plugin-npmsearchlist#usage as well.

@@ -22,4 +22,4 @@ In addition, your middleware should also:
It should also have a relevant description. If you prefer, you can also add your middleware to the
[neutrino-dev wiki](https://github.com/mozilla-neutrino/neutrino-dev/wiki/Community-Middleware).

{% npmsearchlist "keywords:neutrino-middleware+not:deprecated" %}{% endnpmsearchlist %}
{% npmsearchlist "keywords:neutrino-middleware not:deprecated" %}{% endnpmsearchlist %}
Copy link
Member

Choose a reason for hiding this comment

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

Let's URL-encode these with %20s.

@@ -22,4 +22,4 @@ In addition, your middleware should also:
It should also have a relevant description. If you prefer, you can also add your middleware to the
[neutrino-dev wiki](https://github.com/mozilla-neutrino/neutrino-dev/wiki/Community-Middleware).

{% npmsearchlist "keywords:neutrino-middleware+not:deprecated" %}{% endnpmsearchlist %}
{% npmsearchlist "keywords:neutrino-middleware%20snot:deprecated" %}{% endnpmsearchlist %}
Copy link
Member

Choose a reason for hiding this comment

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

This should just be %20 not %20s.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

derp

@eliperelman eliperelman merged commit 07eae2a into master Jan 5, 2018
timkelty added a commit to timkelty/neutrino that referenced this pull request Jan 17, 2018
@edmorley edmorley deleted the fix-npmsearchlist branch March 9, 2018 19:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants