codimd
codimd copied to clipboard
Broken rendering of published note page
trafficstars
A test note:
Text links are correctly rendered in the preview.
But the published version shows like this:
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
I think there is a syntax issue.
There should be a space between [url]: and the url, like: [url]: https://xxx
@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:
It seems that the syntax parser or something does not work properly on the published page.