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

Broken rendering of published note page #1822

Open
pnck opened this issue Sep 20, 2023 · 2 comments
Open

Broken rendering of published note page #1822

pnck opened this issue Sep 20, 2023 · 2 comments

Comments

@pnck
Copy link

pnck commented Sep 20, 2023

A test note:

image

Text links are correctly rendered in the preview.
But the published version shows like this:
image

Deployed through docker:

    image: hackmdio/hackmd:2.4.2-cjk
    environment:
      - CMD_USECDN=true
      - CMD_ALLOW_PDF_EXPORT=true
      - CMD_DOMAIN=***
      - CMD_AUTO_VERSION_CHECK=false
      - CMD_ALLOW_ANONYMOUS=false
      - CMD_ALLOW_ANONYMOUS_EDITS=false
      - CMD_ALLOW_ANONYMOUSE_VIEWS=true
      - CMD_DEFAULT_PERMISSION=private
      - CMD_EMAIL=false
      - CMD_ALLOW_EMAIL_REGISTER=false
      - CMD_GITHUB_CLIENTID=***
      - CMD_GITHUB_CLIENTSECRET=***
      - CMD_PROTOCOL_USESSL=true
      - CMD_ALLOW_ORIGIN=['***']
      - CMD_CSP_ENABLE=true
@jackycute
Copy link
Member

I think there is a syntax issue.
There should be a space between [url]: and the url, like: [url]: https://xxx

@pnck
Copy link
Author

pnck commented Sep 21, 2023

@jackycute Ah sorry the screenshot has a little mistake, but it's not related. Correct syntax behaves the same.

The built-in feature introduction looks like this, and you can see it's also glitched:
image

It seems that the syntax parser or something does not work properly on the published page.

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