bordaigorl / sublime-evernote

Open and Save Evernote notes from Sublime Text 3 using Markdown
Other
1.15k stars 105 forks source link

GFM Tables not working in 6.11 OSX, latest sublime-evernote #180

Open jnials opened 7 years ago

jnials commented 7 years ago

So this is probably going to go into the 6.11 sucks bucket, but when I try and use GFM tables in evernote-sublime, when I update to Evernote, all the formatting is lost.

Same thing run through marked-2 and it shows the tables properly.

jnials commented 7 years ago
image
title: Test Case Tables
notebook: Threatgrid
tags: test
---

# Section

## Table header

| Name          | Abbr.     | Email                | Contact Phone |
| ------------- | --------  | ---------------------| ------------- |
| Jon Nials     | jnials    | jnials@example.com   | 555-555-1212  |
| Jane Doe      | jdoe      | jdoe@example.com     | 555-555-1213  |
| Richard Roe   | rroe      | rroe@example.com     | 555-555-1214  |
| Jenn Juniper  | jjuniper  | jjuniper@example.com | 555-555-1215  |
jnials commented 7 years ago

This is the main html as processed by marked-2. I skipped all the headers and scripts. So technically this is not all.

<body class="normal firstload">
  <div id="wrapper">
      <hr />

<p>title: Test Case Tables<br/>
notebook: Threatgrid</p>

<h2 id="tags:-test--">tags: test  </h2>

<h1 id="section">Section</h1>

<h2 id="table-header">Table header</h2>

<table>
<thead>
<tr>
<th> Name          </th>
<th> Abbr.     </th>
<th> Email                </th>
<th> Contact Phone </th>
</tr>
</thead>
<tbody>
<tr>
<td> Jon Nials     </td>
<td> jnials    </td>
<td> <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x6a;&#x6e;&#x69;&#x61;&#x6c;&#x73;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;">&#x6a;&#x6e;&#x69;&#x61;&#x6c;&#x73;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a>   </td>
<td> 555-555-1212  </td>
</tr>
<tr>
<td> Jane Doe      </td>
<td> jdoe      </td>
<td> <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x6a;&#x64;&#x6f;&#x65;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;">&#x6a;&#x64;&#x6f;&#x65;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a>     </td>
<td> 555-555-1213  </td>
</tr>
<tr>
<td> Richard Roe   </td>
<td> rroe      </td>
<td> <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x72;&#x72;&#x6f;&#x65;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;">&#x72;&#x72;&#x6f;&#x65;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a>     </td>
<td> 555-555-1214  </td>
</tr>
<tr>
<td> Jenn Juniper  </td>
<td> jjuniper  </td>
<td> <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x6a;&#x6a;&#x75;&#x6e;&#x69;&#x70;&#x65;&#x72;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;">&#x6a;&#x6a;&#x75;&#x6e;&#x69;&#x70;&#x65;&#x72;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a> </td>
<td> 555-555-1215  </td>
</tr>
</tbody>
</table>

<!-- ##END MARKED WRAPPER## -->
    </div>
rdhyee commented 7 years ago

Has the situation improved with Evernote for Mac version 6.11.1?