Escape pipe in code section of table leaves escape character
See original GitHub issueEscaping 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>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Merged, will be in the next release (0.13.0).
Working on this on a new branch: https://github.com/atlassian/commonmark-java/compare/issue-149-gfm-table-spec-changes?expand=1