Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jan 31, 2012
  1. @jgm
  2. @jgm

    Merge pull request #9 from rctay/rc/gcc-wall

    jgm authored
    minor fixes for compiler warnings
  3. @jgm

    Merge pull request #8 from rctay/rc/mingw

    jgm authored
    improved support for building on mingw
  4. @rctay
  5. @rctay

    odf.c: strip a trailing space

    rctay authored
    This fixes the gcc warning:
    
      odf.c: In function ����print_odf_header����:
      odf.c:102:64: warning: backslash and newline separated by space
  6. @rctay

    Makefile: improve library order

    rctay authored
  7. @rctay

    Makefile: allow pkg-config path to be configurable

    rctay authored
    This patch is best-viewed with --color-words.
  8. @rctay
  9. @rctay
Commits on Dec 16, 2011
  1. @jgm
Commits on Dec 15, 2011
  1. @jgm
  2. @jgm

    Simplified SkipBlock.

    jgm authored
Commits on Dec 14, 2011
  1. @jgm

    Improved SkipBlock to allow references after headers.

    jgm authored
    Previously, references and notes right after setext or atx
    headers or html blocks were skipped over.
Commits on Nov 6, 2011
  1. @jgm

    Fixes memory-corrupting bug in peg/leg.

    jgm authored
    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. @jgm
Commits on Jul 19, 2011
  1. @jgm

    Added ' and " to SpecialChars.

    jgm authored
    Previously "_hello_" and '_hello_' were not parsed properly,
    since Str regarded the opening _ as an intraword _.
Commits on Jun 26, 2011
  1. @jgm
  2. @jgm
  3. @jgm

    Strip off UTF-8 BOM if present.

    jgm authored
Commits on Jun 22, 2011
  1. @jgm

    Require non-space after single quote start.

    jgm authored
    Fixes bug in:
    
      Some countries' political leaders seek to exploit other countries'
      problems
Commits on Apr 29, 2011
  1. @jgm

    Added () to SpecialChars.

    jgm authored
    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
  1. @jgm
Commits on Apr 3, 2011
  1. @fletcher

    add odf.c and odf.h

    fletcher authored
  2. @fletcher

    Add Markdown support for ODF

    fletcher authored
  3. @jgm

    Simplified SingleQuoteStart.

    jgm authored
    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. @jgm

    Fixed Str parser so it handles apostrophes inside words.

    jgm authored
    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. @jgm

    Require newline after Reference.

    jgm authored
    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. @jgm

    Changed order of AtxHeading & SetextHeading in Heading.

    jgm authored
    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. @jgm

    Fixed bug in setext headers.

    jgm authored
    Headers ending in a space were not being recognized.
Commits on Feb 21, 2011
  1. @jgm

    Added missing HtmlBlockOl to HtmlBlockInTags.

    jgm authored
    Thanks to knieriem for noticing the omission.
Commits on Feb 12, 2011
  1. @jgm

    Tentative change to tight/loose lists.

    jgm authored
    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. @jgm

    Bump version to 0.4.12.

    jgm authored
  3. @jgm

    Fixed exponential slowdown for some HTML.

    jgm authored
    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. @jgm

    Fixed bug in list continuations.

    jgm authored
    The test case:
    
    - item 1
    
        second par.
        following line has 4 spaces.
    
    should not be in list.
Commits on Jan 28, 2011
  1. @jgm
Something went wrong with that request. Please try again.