Age | Commit message (Collapse) | Author | Files | Lines |
|
These previously caused infinite looping and stack overflows.
For example:
[^1]
[^1]: See [^1]
Note references are allowed in reST notes, so this isn't a full
implementation of reST. That can come later. For now we need to
prevent the stack overflows.
Partially resolves Issue #297.
|
|
|
|
So, in RST, 'http://google.com.' should be parsed as a link
to 'http://google.com' followed by a period.
The parser is smart enough to recognize balanced parentheses,
as often occur in wikipedia links: 'http://foo.bar/baz_(bam)'.
Also added ()s to RST specialChars, so '(http://google.com)'
will be parsed as a link in parens.
Added test cases.
Resolves Issue #291.
|
|
The bug affected field lists with multi-line items at the
end of the list.
|
|
The point of the change is to allow html tags to be used freely
at the left margin of a markdown+lhs document.
Thanks to Conal Elliot for the suggestion.
|
|
Previously, if you had formatting in the label of an Image
element, you'd get escaped HTML in the alt attribute. Now
you just get a plain string version, which seems preferable.
|
|
|
|
|
|
|
|
In normal form, Space elements only occur to separate two non-Space
elements. So, we never have [Space], or [, ..., Space].
|
|
|
|
|
|
The last patch did not handle cases with > 4 spaces.
Also added a more general test case.
|
|
The problem was in input like this:
[^1]: note
not in note.
Also added a test case for this.
|
|
Previously a file beginning " hi" would cause a parse error.
Also cleaned up comment parsing.
|
|
|
|
|