When the first cell in a table row has a value that begins with a hyphen,
table realignment should not treat that value as anything special.
Table realignment misrecognizes the cell value as a row separator and replaces all cells in the row with a row separator, losing the row contents in the process.
This is clearly a bug. The documentation states:
No padding is allowed between the beginning pipe character and header separator symbol.
In my use case, the pipe character is separated by one (or more) spaces from the -, so
according to the above, it should not be recognized as a row separator.
(as to why my cell values begin with a hyphen: I'm attempting to document command line options
of a program using a markdown table)
|---|---|
| A | B |
|---|---|
| -c | some text |
The result of the above action will look like this:
|---|---|
| A | B |
|---|---|
|---|---|
| | |
Backtrace
There is no backtrace, the mode just does the wrong thing.
Software VersionsMarkdown Mode: 2.6-alpha
Emacs: 28.2 (using the version from https://emacsformacosx.com/)
OS: macOS Monterey 12.6.3
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4