Skip to content

fixed(markdown): render the markdown in browser. #505

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

Closed
wants to merge 1 commit into from
Closed

fixed(markdown): render the markdown in browser. #505

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 15, 2018

fixes #451
closes #451

@lvxianchao
Copy link

Is this repository died? I found this bug today.

@@ -32,7 +32,7 @@ class Markdown extends Requestable {
* @return {Promise} - the promise for the http request
*/
render(options, cb) {
return this._request('POST', '/markdown', options, cb);
return this._request('POST', '/markdown', options, cb, true);
Copy link
Member

Choose a reason for hiding this comment

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

I'm trying to figure out why sending the request as raw rather than JSON would work in the browser. Give me a bit to sort this out.

j-rewerts added a commit to j-rewerts/github that referenced this pull request Apr 7, 2019
@j-rewerts j-rewerts mentioned this pull request Apr 7, 2019
@j-rewerts
Copy link
Member

I've created a PR that contains the previous code, as well as a test that verifies this is an issue.

@j-rewerts
Copy link
Member

This can be closed @clayreimann.

@clayreimann
Copy link
Member

Closing in favor of #548

j-rewerts added a commit to j-rewerts/github that referenced this pull request Apr 10, 2019
clayreimann pushed a commit that referenced this pull request Apr 17, 2019
Got the code from PR #505.
Fixes #451.
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.

How can I render the markdown in browser,may be a bug
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy