| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
shows the differances between the old and the new. Also left one test failing (unsignificant white space only) to demonstrate what a failing test looks like.
|
|
|
|
| |
test. Somehow we never had a test for that before. Also reset markdown.py to be executable again.
|
|
|
|
| |
and it better matches other markdown implementations. Also updated tests.
|
|
|
|
|
|
|
|
|
| |
whitespace is preserved in codeblocks.
As a side-benefit, this also solved the issue with the safe-mode tests failing.
All tests incorectly altered at ElementTree conversion have been corrected for
this bug. Any remaining tests that fail are unrelated to this.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tags.
Also edited numerious tests that were expecting wrong output - they now expect
correct output. Note that a few **still fail** because the output before moving
to ELementTree wasn't correct either. So I set the expected output to what I
think it should be so we don't forget about it later.
I should also note that the 'safe-mode' tests are failing. However, I believe
the current expected output is correct as it is valid html. Interestingly,
these tests passed prior to this fix. We'll need to special case safe-mode here.
|
|
|
|
| |
executable status.
|
| |
|
|
|
|
| |
_processPlaceholders). Ticket #5 fixed.
|
|
|
|
| |
test suite for ElementTree output.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
cleanup in preparation for release 1.7.
|
|
|
|
|
|
|
|
| |
Note, to accomplish this, a negative lookbehind (for a !) was added to each
link regex so they could be run before the image regex. The (fairly new)
recursion on the link text then parses the image. Not sure how the negative
lookbehind will affect performance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the backlink in a <p> which is appended to the end of the footnote.
Fixes [1831600]
Also fixed multiparagraph footnotes so that the first paragraph is actually
wrapped in a <p> element. This results in one-liners also wrapped in <p>
elements, but this is inline with PHP Markdown Extra's behavior. That means
the test for `node.type == "text"` should never get a match, but I'm leaving
it in for now.
Also added some tests, although they are not properly included in a test
directory for use with the testing framework. Seeing the framework currently
ignores extensions, we'll worry about that later.
|
|
|
|
| |
Blank lines (" \n") and headers no longer get linebreaks and the two spaces are no longer preserved.
|
|
|