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

Problem with escaped single quote in table with hyperlinks #93

Open
mattjlewis opened this issue Nov 24, 2023 · 0 comments
Open

Problem with escaped single quote in table with hyperlinks #93

mattjlewis opened this issue Nov 24, 2023 · 0 comments

Comments

@mattjlewis
Copy link

I am using Jekyll-spaceship v0.10.2 and have noticed strange behaviour with the table-processor.

Given the test document below, the fourth table is messed up after the cell with a hyperlink. All other tables display correctly.

image
---
title: test
---
## Table 1 - No escape, no links

| Id | Col 1 | Col 2 | Col 3 |
|----------
| 1 | Won't | Must | Can't |
| 2 | Can't | Won't | Must |
| 3 | Must | Won't | Can't |

## Table 2 - With escape, no links

| Id | Col 1 | Col 2 | Col 3 |
|----------
| 1 | Won\'t | Must | Can\'t |
| 2 | Can\'t | Won\'t | Must |
| 3 | Must | Won\'t | Can\'t |

## Table 3 - No escape, with links

| Id | Col 1 | Col 2 | Col 3 |
|----------
| 1 | Won't | Must | Can't |
| [2](/test) | Can't | Won't | Must |
| 3 | Must | Won't | Can't |

## Table 4 - With escape, with links

| Id | Col 1 | Col 2 | Col 3 |
|----------
| 1 | Won\'t | Must | Can\'t |
| [2](/test) | Can\'t | Won\'t | Must |
| 3 | Must | Won\'t | Can\'t |
@mattjlewis mattjlewis changed the title Problem with single quote in table with hyperlinks Problem with escaped single quote in table with hyperlinks Nov 24, 2023
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

1 participant