Skip to content

Problem with escaped single quote in table with hyperlinks #93

Open
@mattjlewis

Description

@mattjlewis

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 |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions