Wrong HTML rendering with lists #458
Comments
another example:
DemosYou can watch the entire recording here
pipeline: You can watch the entire recording here. 1. Server timing & DOM based HTL engine 1. Helix Pages & auto-generated sequence diagrams 1. Performance analysis of Helix OpenWhisk actions 1. Authoring user journey 1. Dev experience: Helix 6 months ago and today adding an empty line before the list fixes the problem. |
@tripodsan I'll take this! |
Can you point me in the right direction to which file should be edited? |
@derekneuland I can help you :) were you able to reproduce the issue? |
There's a few ways to reproduce. You can use the helix-cli demo, You can follow the instructions in the helix-cli Readme at https://www.github.com/adobe/helix-cli You'll learn how to create a demo project. Plug the code that's giving erroneous output; into your demo's md file, This should reproduce the error. Or you can even; take the markdown that's giving the bad result and plug it into one of the tests in https://github.com/adobe/helix-pipeline/blob/master/test/testHTMLFromMarkdown.js From there set some breakpoints and follow the flow of execution. You should find the code that dictates how some of the markdown is rendered! Welcome, and thanks for contributing! :) Keep pinging and asking questions; we're happy to help |
I did some investigation, current issues can be solved, but links with spaces (because is that link is not a valid markdown link) and links references (because this bug in the remark) will stop working. 😕 |
@derekneuland / @lex111 Still working on this? |
@tripodsan I'm stuck :( |
I'll take this; @lex111 unless you're still open to working on it. @lex111 hey you referenced an issue with link parsing; what did you find? @tripodsan I'm starting to think this is an issue with how remark-parse handles lists; I'm going to do some more investigating |
This is related to; it's unresolved: they're making up a fix :) |
@MarquiseRosier cool, unfortunately I gave up, but hope this issue will be resolved soon. |
Hey folks! Looks like this is about to be fixed!! :) By PR: |
Cool, and scary, as this will probably break a few other things for us. |
won't fix. |
the following lists are rendered correctly in github:
Then numbered lists:
$ npm install
Muiltiline
With
code
.but the pipeline produces:
Then numbered lists:
$ npm install
Muiltiline
With
code
. 1. SpanishThe text was updated successfully, but these errors were encountered: