appdotnet / api-spec

App.net API Documentation is on the web at https://developers.app.net. Source for these docs is in the new-docs branch here. Please use the issue tracker and submit pull requests! Help us build the real-time social service where users and developers come first, not advertisers.
https://developers.app.net
952 stars 99 forks source link

Wikipedia Markdown link throws a 'Bad request' error #376

Open ericdke opened 10 years ago

ericdke commented 10 years ago

Hi! Posting this Markdown link creates a 'Bad request' error:

[Dunning Kruger effect](http://en.wikipedia.org/wiki/Dunning–Kruger_effect)

with all clients I tried.

wedge-badrequest

Although other similar links are properly parsed, like this one:

[Peter principle](http://en.wikipedia.org/wiki/Peter_Principle)

Thanks!

ghost commented 10 years ago

Sail does this fine, though - it handles the markdown correctly and sends the output fine.

Examples:

Both were using the Wikipedia links with a "–" in them and worked fine.

EDIT: Sail uses this library for the Markdown - GitHub link - which is why it works when the API doesn't.