Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Cell inserted in the table header row when it should not #496

Open
1 task done
aleb opened this issue Aug 31, 2017 · 1 comment
Open
1 task done

Cell inserted in the table header row when it should not #496

aleb opened this issue Aug 31, 2017 · 1 comment

Comments

@aleb
Copy link

aleb commented Aug 31, 2017

Prerequisites

Description

Table in markdown file does not appear correct.

Steps to Reproduce

Create a test.md file with the following content:

| a | b | c |
 --- | --- | ---
a | a | a

Press ctrl+shift+m, notice a table with two rows appears, and the first row has 4 cells instead of 3, first cell being empty.

Expected behavior:
https://gist.github.com/aleb/f6ed33806ca5dcbee0434544887360dd

Actual behavior:
screen shot 2017-08-30 at 15 08 57

Reproduces how often: 100

Versions

$ atom --version
Atom : 1.18.0
Electron: 1.3.15
Chrome : 52.0.2743.82
Node : 6.5.0
$ apm --version
apm 1.18.1
npm 3.10.10
node 6.9.5 x64
python 2.7.10
git 2.14.1

@camilo-celis
Copy link

I have similar problem for a table along the lines:

| a | b | c |
|---|---|---|
| aa | aa | aa |
| bb | bb |      |

Actual behaviour
screenshot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants