aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-10Fixed small bug in spec test runner.John MacFarlane
2015-07-10Simplified defn of "unicode whitespace character."John MacFarlane
Rectify omission of line tabulation, U+000B. Closes #343.
2015-07-10Removed ambiguity in definition of "line."John MacFarlane
Closes #346.
2015-07-10Rewrapped two lines so `+` does not begin a line.John MacFarlane
Closes #347. Thanks for pointing this out. We might want to revisit the decision to allow a list to interrupt a paragraph. It's a minority opinion: http://johnmacfarlane.net/babelmark2/?normalize=1&text=Text+text%0A-+one%0A-+two%0A And, in fact, in our initial discussions I was pretty strongly opposed to it. Others felt strongly that people would naturally create lists this way, and that it should be allowed. Some of this is sumarized here: http://talk.commonmark.org/t/requiring-a-blank-line-between-a-paragraph-and-list/657 The thread is a bit noisy but the point that sways me most is here: http://talk.commonmark.org/t/requiring-a-blank-line-between-a-paragraph-and-list/657/13?u=jgm
2015-07-08spec_test.py: write to stdout instead of using 'print' throughout.John MacFarlane
Combining direct stdout buffer writes and print doesn't work well; results are out of order.
2015-07-07Ported `test/cmark.py` fixes from jgm/cmark.John MacFarlane
Set options for conversion, set library paths in a more cross-platform way.
2015-07-06Fixed link to 'attributes'.John MacFarlane
2015-07-04spec_tests.py: force utf-8 on test failure output.John MacFarlane
See #345.
2015-07-03Force utf-8 output for `spec_test.py --dump-tests`.John MacFarlane
Closes #344.
2015-07-03spec_tests.py: Properly handle visible tab → in test expected output.John MacFarlane
2015-06-30Consolidated fragment tests, added query example.John MacFarlane
2015-06-30Merge pull request #342 from dgreen99/masterJohn MacFarlane
add spec examples showing the use of fragment identifiers in links
2015-06-30add spec examples showing the use of fragment identifiers in linksDavid Green
2015-06-26Merge pull request #338 from zudov/non-whitespaceJohn MacFarlane
Rename "non-space" to "non-whitespace"
2015-06-26Merge pull request #340 from eksperimental/version-devJohn MacFarlane
Add -dev suffix to Spec Version after every release
2015-06-26Added spec.html to .gitignore.John MacFarlane
Closes #339.
2015-06-24Add -dev suffix to Spec Version after every releaseeksperimental
2015-06-24Rename "non-space" to "non-whitespace"Konstantin Zudov
See issue #337
2015-06-16Preliminary spec changes for new tab handling.John MacFarlane
Instead of having a preprocessing step where tabs are converted to spaces, we now handle tabs directly in the parser. This allows tabs to be retained in code blocks and code spans. This commit adds some general language to the effect that, for purposes of determining block structure, tabs are to be treated just like equivalent spaces. Much more work is needed on the spec regarding spaces and tabs, but this change (and corresponding changes to the implementations) is a start.
2015-06-15Merge pull request #331 from balpha/patch-1John MacFarlane
Specify nested link definition behavior in prose
2015-06-15Merge pull request #335 from balpha/masterJohn MacFarlane
Add a test for an edge case in link reference parsing.
2015-06-15Add a test for an edge case in link reference parsing.Benjamin Dumke-von der Ehe
This tests for the issue that's fixed in jgm/commonmark.js#49.
2015-06-13Added test cases with a literal backslash in a link destination.John MacFarlane
See jgm/commonmark.js#45.
2015-06-13Added test for entity `≧̸` which resolves to two code points.John MacFarlane
Put entity tests on several lines for readability. See jgm/commonmark.js#47.
2015-06-11normalize.py: Don't collapse whitespace in pre tag.John MacFarlane
2015-06-11Specify nested link definition behavior in proseBenjamin Dumke-von der Ehe
The behavior was already specified in examples 426, 427, 428, 440, 441; this change merely describes it in the textual part.
2015-06-09Added another test with overlapping emphasis markers.John MacFarlane
2015-06-08Bump version and date to 0.20.John MacFarlane
2015-06-08Clarified precedence of indentation: code block vs. list item.John MacFarlane
Added examples.
2015-06-08Clarified lazy block quote examples. (Closes #328.)John MacFarlane
2015-06-08Clarify that tab expansion is preprocessing (closes #330).John MacFarlane
2015-06-07Updated changelog.John MacFarlane
2015-06-07Define "space," revise "non-space character".John MacFarlane
Previously a non-space character was defined as anything but a space (U+0020). Now it is anything that is not a whitespace character (as defined in the spec).
2015-06-07Reword to avoid implying that all blocks can contain other blocks.John MacFarlane
2015-06-07Updated changelog.John MacFarlane
2015-06-06Added example with loose list and 4-space indent.John MacFarlane
2015-06-04Fix whitespace error in test.John MacFarlane
2015-06-04Require a nonspace character in link label.John MacFarlane
Closes #322. Added example.
2015-06-04Clarify that entities resolving to U+0000 are replaced by U+FFFD.John MacFarlane
Closes #323.
2015-06-04Require replacement of U+0000. Closes #327.John MacFarlane
Previously we said that NULL must be replaced or stripped, but this was too vague, and stripping might be a security risk in itself.
2015-06-04Removed platform-dependence part of def of line ending.John MacFarlane
Closes #326.
2015-06-03Added test case with # followed directly by alphabetic.John MacFarlane
(Not an ATX header.)
2015-06-03Added another level of nesting to Example 213.John MacFarlane
This tests the problem illustrated in commonmark.js#42 and http://talk.commonmark.org/t/odd-list-behaviour/1189 Currently both reference implementations fail this test.
2015-04-29Fixed typo in emphasis examples. Closes #320.John MacFarlane
2015-04-28Updated changelog.txt.John MacFarlane
2015-04-27Bump version to 0.19 and date.John MacFarlane
2015-04-27Fixed errors in last commit.John MacFarlane
See #317.
2015-04-27Fixed rules for `_`-based emphasis and strong emphasis.John MacFarlane
Previously this was not counted as emphasis _(bar)_. because the closing delimiter is both left- and right- flanking. This fix allows such delimiters, provided they're followed by punctuation (= they have punctuation on both sides). Similarly, mutatis mutandis, for opening delimiters and for `__`. Closes #317.
2015-04-27Clarified left-flanking and right-flanking.John MacFarlane
Say explicitly that the beginning and end of line count as whitespace for purposes of this definition. Otherwise the opener in `_foo_` is both left and right flanking, as @jmendeth pointed out. Closes #310.
2015-04-27Clarified that a code fence followed by header line isn't a header.John MacFarlane
Closes #306.