forked from jgm/pandoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MediaWiki reader: ensure that list starts begin at left margin.
Including when they're in tables or other list items. Closes jgm#2606.
- Loading branch information
Showing
2 changed files
with
76 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
``` | ||
% pandoc -f mediawiki -t html5 | ||
{| | ||
| * hello | ||
|} | ||
^D | ||
<table> | ||
<tbody> | ||
<tr class="odd"> | ||
<td><p>* hello</p></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
``` | ||
|
||
``` | ||
% pandoc -f mediawiki -t html5 | ||
{| | ||
| | ||
* hello | ||
|} | ||
^D | ||
<table> | ||
<tbody> | ||
<tr class="odd"> | ||
<td><ul> | ||
<li>hello</li> | ||
</ul></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
``` | ||
|
||
``` | ||
% pandoc -f mediawiki -t html5 | ||
{| | ||
| | ||
* hello | ||
|} | ||
^D | ||
<table> | ||
<tbody> | ||
<tr class="odd"> | ||
<td><p><code>* hello</code></p></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
``` | ||
|
||
``` | ||
% pandoc -f mediawiki -t html5 | ||
* * hi | ||
^D | ||
<ul> | ||
<li>* hi</li> | ||
</ul> | ||
``` | ||
|