question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Escape pipe in code section of table leaves escape character

See original GitHub issue

Escaping a pipe in the code section of a table keeps the escape character when the spec shows that it shouldn’t.

Steps to reproduce the problem (provide example input):

| f\|oo  |
| ------ |
| b `\|` az |
| b **\|** im |

Expected behavior:

<table>
<thead>
<tr>
<th>f|oo</th>
</tr>
</thead>
<tbody>
<tr>
<td>b <code>|</code> az</td>
</tr>
<tr>
<td>b <strong>|</strong> im</td>
</tr></tbody></table>

Actual behavior:

<table>
<thead>
<tr><th>f|oo</th></tr>
</thead>
<tbody>
<tr><td>b <code>\|</code> az</td></tr>
<tr><td>b <strong>|</strong> im</td></tr>
</tbody>
</table>

Links: https://github.github.com/gfm/#example-193

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
robinstcommented, Jul 15, 2019

Merged, will be in the next release (0.13.0).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Escape pipe in code section of table leaves escape character
Escaping a pipe in the code section of a table keeps the escape character when the spec shows that it shouldn't.
Read more >
How to escape a pipe char in a code statement in a markdown ...
The problem is that the vertical bar in the code statement of the second line is interpreted as a column delimiter. Then the...
Read more >
Pipe Character Escape for Gherkin Tables - Automation Panda
The solution was simple: escape the pipe character “|” with a ... “\|” works for both step tables and scenario outline example tables....
Read more >
How to Escape the Pipe Character in a Markdown Table?
Find out how you can escape the pipe character in a markdown table.
Read more >
Escaped pipe symbol in table confuses syntax highlighting in ...
If I escape the pipe symbol in a table, the SpecFlow syntax highlighter gets confused. Steps to Reproduce. Then the data should be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found