Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mediawiki writer produces broken tables when cell contains a hyphen #2604

Closed
stm2 opened this issue Dec 27, 2015 · 0 comments
Closed

mediawiki writer produces broken tables when cell contains a hyphen #2604

stm2 opened this issue Dec 27, 2015 · 0 comments

Comments

@stm2
Copy link

stm2 commented Dec 27, 2015

Processing this input:

{|
| -
|}

using pandoc -f mediawiki -t mediawiki produces

{|
|-
|}

which is not the same. This also affects cells containing a plus sign and maybe others. As a solution, it probably wouldn't hurt to generally insert a space before cell content.

@jgm jgm closed this as completed in a68e072 Jan 2, 2016
c-forster pushed a commit to c-forster/pandoc that referenced this issue Jan 13, 2016
+ Start cell on new line unless it's a single Para or Plain.
+ For single Para or Plain, insert a space after the `|` to
  avoid problems when the text begins with a character like
  `-`.

Closes jgm#2604, closes jgm#2606.
c-forster pushed a commit to c-forster/pandoc that referenced this issue Mar 4, 2016
+ Start cell on new line unless it's a single Para or Plain.
+ For single Para or Plain, insert a space after the `|` to
  avoid problems when the text begins with a character like
  `-`.

Closes jgm#2604, closes jgm#2606.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant