diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-07-22 22:09:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-07-22 22:09:15 -0700 |
commit | d2cc56a46a5a3c657429e8df5b93c82f3f9ed9fb (patch) | |
tree | 7ebcea15a84f048197dbfb29867dc6b8346c91d5 /src/Tests/Old.hs | |
parent | ed4039c3d7a77b4dbdb67e0463629a9ea563edd5 (diff) | |
download | pandoc-d2cc56a46a5a3c657429e8df5b93c82f3f9ed9fb.tar.gz |
Revised code for pipe tables.
* All tables now require at least one body row.
* Renamed from 'extra' to 'pipe' tables.
* Moved functions from Parsing to Readers.Markdown.
* Cleaned up code; revised to parse in one pass rather than
parsing a raw string, splitting it, and parsing the components.
* Allow pipe tables without pipes on the ends (as PHP Markdown Extra
does).
Diffstat (limited to 'src/Tests/Old.hs')
-rw-r--r-- | src/Tests/Old.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Tests/Old.hs b/src/Tests/Old.hs index 8a88e4034..e60f390df 100644 --- a/src/Tests/Old.hs +++ b/src/Tests/Old.hs @@ -56,8 +56,8 @@ tests = [ testGroup "markdown" "testsuite.txt" "testsuite.native" , test "tables" ["-r", "markdown", "-w", "native", "--columns=80"] "tables.txt" "tables.native" - , test "extratables" ["-r", "markdown", "-w", "native", "--columns=80"] - "extra-tables.markdown" "extra-tables.native" + , test "pipe tables" ["-r", "markdown", "-w", "native", "--columns=80"] + "pipe-tables.txt" "pipe-tables.native" , test "more" ["-r", "markdown", "-w", "native", "-S"] "markdown-reader-more.txt" "markdown-reader-more.native" , lhsReaderTest "markdown+lhs" |