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

.md passes through handler, but displays a **blank page** on the browser side. #2

Open
prep-gh opened this issue Sep 5, 2018 · 7 comments

Comments

@prep-gh
Copy link

prep-gh commented Sep 5, 2018

.md passes through handler, but displays a blank page on the browser side.

It is correctly wrapping the .md text; as view source on the browser shows.

<xmp theme="united" style="display:none;">

... md stuff here
</xmp><script src="http://strapdownjs.com/v/0.2/strapdown.js"></script>

Same behavior on:

  • Waterfox
  • firefox
  • palemoon
  • opera (opera adds a content-blocked msg in the URL bar)

OS = Windows Server 2008

@prep-gh
Copy link
Author

prep-gh commented Sep 5, 2018

ps - should we add a mime type of text/html in IIS for .md files as well?

I did -- but without effect.

@prep-gh
Copy link
Author

prep-gh commented Sep 5, 2018

This might be the opera warning source:

https://strapdownjs.com gives:

This Connection is Untrusted

You have asked Pale Moon to connect securely to strapdownjs.com, but we can't confirm that your connection is secure.

Normally, when you try to connect securely, sites will present trusted identification to prove that you are going to the right place. However, this site's identity can't be verified.
What Should I Do?

@orecht
Copy link
Owner

orecht commented Sep 5, 2018

https://strapdownjs.com has a wrong certificate:
strapdownjs.com uses an invalid security certificate. The certificate is only valid for the following names: *.git.luolix.top, github.com, *.github.io, github.io Error code: SSL_ERROR_BAD_CERT_DOMAIN

This sounds like a Github pages configuration issue in strapdown project. I have submitted an issue for this: arturadib/strapdown#92

@orecht orecht closed this as completed Sep 5, 2018
@orecht orecht reopened this Sep 5, 2018
@prep-gh
Copy link
Author

prep-gh commented Sep 6, 2018

Yes, leave it open.

I copied strapdown.js directly into the .md stream;
bypassing their website;
and I still get a blank page (everything is there via view source)
when retrieving the .md file through IIS and the MarkdownHttpHandler
handler.


the .md contains only this:

tester

test!

This is what markdown looks like to others

@prep-gh
Copy link
Author

prep-gh commented Sep 6, 2018

tester 
# test! 
This *is what* markdown looks like **to others**

@orecht
Copy link
Owner

orecht commented Sep 15, 2018

I have added a test project in test.
I have carried out these steps:

  1. open the solution test/ORecht.MarkdownHandler.Test.sln with Visual Studio 2017
  2. build it
  3. run the project with IIS Express
  4. browse to http://localhost:55143/content/test.md (port number might change on you machine).

The markdown is displayed as expected.

@orecht
Copy link
Owner

orecht commented Oct 22, 2018

https://strapdownjs.com have resolved issue arturadib/strapdown#92. Can you test again, please?

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

No branches or pull requests

2 participants