You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MediaWiki Comments
When comments <!-- A Comment--> are placed on the same line as a new row symbol |- the |- is parsed as another cell and no other cells or rows are parsed.
When the comment is on a separate line(or on the next cell line) after the row mark and before another cell mark | pandoc throws the error: Error at "source.wiki" (line 13, column 2): unexpected ' ' | Example
with an arrow pointing at the space bewteen "|" and "Example"
There are no errors when the comment is in a cell on the same line or on its own line
Command Line (docker run --rm --mount type=bind,source="$(pwd)"/pandoc,target=/data --user "$(id -u)":"$(id -g)" pandoc/core:latest source.wiki -f mediawiki -t html) > pandoc/target.html
Input1 failed example
{| class="wikitable"
! Header text
! Header text
! Header text
|-
| Example
| Example
| Example
|- <!-- This is a comment -->
| Example
| Example
| Example
|}
MediaWiki Comments
When comments
<!-- A Comment-->
are placed on the same line as a new row symbol|-
the|-
is parsed as another cell and no other cells or rows are parsed.When the comment is on a separate line(or on the next cell line) after the row mark and before another cell mark
|
pandoc throws the error:Error at "source.wiki" (line 13, column 2): unexpected ' ' | Example
with an arrow pointing at the space bewteen "|" and "Example"
There are no errors when the comment is in a cell on the same line or on its own line
Command Line
(docker run --rm --mount type=bind,source="$(pwd)"/pandoc,target=/data --user "$(id -u)":"$(id -g)" pandoc/core:latest source.wiki -f mediawiki -t html) > pandoc/target.html
Input1 failed example
Output1
Expected1
Version
I am running on Ubuntu but using docker
The text was updated successfully, but these errors were encountered: