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

bug: it generates many <br> before <table> #58

Closed
xu-song opened this issue Feb 25, 2018 · 5 comments
Closed

bug: it generates many <br> before <table> #58

xu-song opened this issue Feb 25, 2018 · 5 comments

Comments

@xu-song
Copy link

xu-song commented Feb 25, 2018

1. markdown file

## table
<table>
         <thead>
                 <tr>
                         <th>#</th>
                         <th>Name</th>
                         <th>Street</th>
                 </tr>
         </thead>
         <tbody>
                 <tr>
                         <td>1</td>
                         <td>Anna Awesome</td>
                         <td>Broome Street</td>
                 </tr>
                 <tr>
                         <td>2</td>
                         <td>Debbie Dallas</td>
                         <td>Houston Street</td>
                 </tr>
                 <tr>
                         <td>3</td>
                         <td>John Doe</td>
                         <td>Madison Street</td>
                 </tr>
         </tbody>
</table>

2. github render

table

# Name Street
1 Anna Awesome Broome Street
2 Debbie Dallas Houston Street
3 John Doe Madison Street

3. hexo render

it generates many <br> before <table>

table


























# Name Street
1 Anna Awesome Broome Street
2 Debbie Dallas Houston Street
3 John Doe Madison Street

4. bug

I am not sure whether the bug comes from markedjs or hexo-renderer-marked or or Hexo issue. @NoahDragon

Specifications

  • NodeJS Version: 8.9.4
  • NPM Version: 5.6.0
  • OS: Linux 3.13.0-139-generic linux x64
  • hexo@3.5.0
  • hexo-renderer-ejs@0.3.1
  • hexo-renderer-marked@0.3.2
  • hexo-renderer-stylus@0.3.3
@xu-song
Copy link
Author

xu-song commented Mar 3, 2018

any help?

@NoahDragon
Copy link
Member

I believe this is some issue related to marked. https://github.com/markedjs/marked/issues

Not sure if our issue is same as markedjs/marked#519

@xu-song
Copy link
Author

xu-song commented Mar 15, 2018

Yes, same issue

@yoshinorin
Copy link
Member

@xu-song
We released v1.0.0.
Would you please check fix or not?

@tomap
Copy link
Contributor

tomap commented Aug 2, 2019

Fixed. I check on few tables. Closing

@tomap tomap closed this as completed Aug 2, 2019
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

4 participants