Permalink
Commits on Jan 31, 2012
  1. Merge pull request #9 from rctay/rc/gcc-wall

    jgm committed Jan 31, 2012
    minor fixes for compiler warnings
  2. Merge pull request #8 from rctay/rc/mingw

    jgm committed Jan 31, 2012
    improved support for building on mingw
  3. odf.c: strip a trailing space

    rctay committed Jan 31, 2012
    This fixes the gcc warning:
    
      odf.c: In function ����print_odf_header����:
      odf.c:102:64: warning: backslash and newline separated by space
  4. Makefile: improve library order

    rctay committed Jan 31, 2012
  5. Makefile: allow pkg-config path to be configurable

    rctay committed Jan 31, 2012
    This patch is best-viewed with --color-words.
Commits on Dec 16, 2011
Commits on Dec 15, 2011
  1. Simplified SkipBlock.

    John MacFarlane committed Dec 15, 2011
Commits on Dec 14, 2011
  1. Improved SkipBlock to allow references after headers.

    jgm committed Dec 14, 2011
    Previously, references and notes right after setext or atx
    headers or html blocks were skipped over.
Commits on Nov 6, 2011
  1. Fixes memory-corrupting bug in peg/leg.

    John MacFarlane committed Nov 6, 2011
    Patch due to Ali Rantakari.
    The original peg source directory is preserved, and a patched
    copy created in 'peg'.
Commits on Oct 25, 2011
  1. Improved AutoLinkEmail (Fletcher Penney).

    John MacFarlane committed Oct 25, 2011
Commits on Jul 19, 2011
  1. Added ' and " to SpecialChars.

    jgm committed Jul 19, 2011
    Previously "_hello_" and '_hello_' were not parsed properly,
    since Str regarded the opening _ as an intraword _.
Commits on Jun 26, 2011
  1. Strip off UTF-8 BOM if present.

    jgm committed Jun 26, 2011
Commits on Jun 22, 2011
  1. Require non-space after single quote start.

    jgm committed Jun 22, 2011
    Fixes bug in:
    
      Some countries' political leaders seek to exploit other countries'
      problems
Commits on Apr 29, 2011
  1. Added () to SpecialChars.

    jgm committed Apr 29, 2011
    This fixes a bug in the input '(__hi__)'.  Previously the Str
    parser would parse the '(' as a 'NormalChar', then treat the
    embedded __s as intra-word underscores.
Commits on Apr 4, 2011
Commits on Apr 3, 2011
  1. add odf.c and odf.h

    fletcher committed Apr 3, 2011
  2. Add Markdown support for ODF

    fletcher committed Apr 3, 2011
  3. Simplified SingleQuoteStart.

    jgm committed Apr 3, 2011
    We no longer need to sort quotes from apostrophes, as this is now
    done in Str.  This change allows things like '..quote' to parse
    as single-quoted.
Commits on Mar 22, 2011
  1. Fixed Str parser so it handles apostrophes inside words.

    jgm committed Mar 22, 2011
    Previously the --smart option would trigger exponential slowdown
    in text heavy with intraword apostrophes.  This fixes the problem.
    
    Str is now a bunch of NormalChars followed by a list of StrChunks.
    A StrChunk is either a bunch of NormalChars, an underscore followed
    by alphanumeric, or (in smart mode) an apostrophe.
  2. Require newline after Reference.

    jgm committed Mar 22, 2011
    Fletcher Penney pointed out the following bug in the previous
    version:
    
    ![][figure]
    
    [figure]: fig.png "caption" width=75%
    
    is correctly *NOT* interpreted as a reference by most implementations
    due to the extraneous width attribute.  Peg-markdown, however, strips
    the fig.png part, and leaves the "caption" and width as leftover text
    in the following paragraph:
    
    <p><img src="fig.png" alt="" /></p>
    
    <p>&quot;caption&quot; width=75%</p>
Commits on Mar 10, 2011
  1. Changed order of AtxHeading & SetextHeading in Heading.

    jgm committed Mar 10, 2011
    This way the following test case is parsed as by Markdown.pl:
    
    ==============
    
    <h1>## header text</h1>
    
    Thanks to Ali Rantakari.
Commits on Feb 22, 2011
  1. Fixed bug in setext headers.

    jgm committed Feb 22, 2011
    Headers ending in a space were not being recognized.
Commits on Feb 21, 2011
  1. Added missing HtmlBlockOl to HtmlBlockInTags.

    jgm committed Feb 21, 2011
    Thanks to knieriem for noticing the omission.
Commits on Feb 12, 2011
  1. Tentative change to tight/loose lists.

    jgm committed Feb 12, 2011
    Now we don't allow tight lists items to include blank lines.
    If there's a blank, it gets parsed as a loose list.
  2. Bump version to 0.4.12.

    jgm committed Feb 12, 2011
  3. Fixed exponential slowdown for some HTML.

    jgm committed Feb 12, 2011
    Thanks to sirthias for both the bug report and the fix.
    
    sirthias notes: Rather than recursing into "HtmlBlockInTags" in each sub rule
    underneath "HtmlBlockInTags" the parser should recurse only in HTML blocks
    that have the same tag name as the enclosing tag. Recursion is only required
    to match corresponding pairs of opening/closing tags, not for rebuilding the
    HTML tag structure as such.
  4. Fixed bug in list continuations.

    jgm committed Feb 12, 2011
    The test case:
    
    - item 1
    
        second par.
        following line has 4 spaces.
    
    should not be in list.
Commits on Jan 28, 2011