Permalink
Commits on Sep 4, 2016
  1. Merge pull request #557 from creature/plaintext-readme-details

    Include details of Redcarpet's plaintext renderer in the README.
    robin850 committed on GitHub Sep 4, 2016
Commits on Aug 6, 2016
  1. Fix segfault for direct children of Base enabling `:quote`

    Fix a segfault enabling the `:quote` option using a render object that
    directly inherits from `Redcarpet::Render::Base` ; the parsing was
    not defered to the `char_quote` function.
    
    Fixes #569.
    robin850 committed Aug 6, 2016
Commits on Jul 19, 2016
  1. Merge pull request #566 from 4ormat/multiple-single-quote-pairs

    Fix issue of handling multiple pairs of single quotes
    robin850 committed on GitHub Jul 19, 2016
Commits on Jul 14, 2016
Commits on Jun 22, 2016
  1. Remove requirement of three dashes for table headers

    Originally introduced in:
    
    vmg/sundown@35a580f
    
    This requirement doesn't seem necessary, at least I hope :crossfingers:
    
    Fixes #476.
    robin850 committed Jun 22, 2016
  2. Clean up a bit the Markdown tests

    Use the available test helpers like `strip_heredoc` and rely on the
    `render` helper rather than a mix of `render_with` and `@markdown.render`.
    robin850 committed Jun 22, 2016
Commits on Jun 21, 2016
  1. Introduce the strip_heredoc string method for cleaner tests

    Import the `strip_heredoc` String's method inside our test suite in
    order to be able to write cleaner tests when we are using heredocs.
    robin850 committed Jun 21, 2016
  2. Remove trailing new line sequence from tested output

    Remove the `\n` at the end of the output returned by the `render`
    method since we don't matter about it.
    robin850 committed Jun 21, 2016
Commits on Jun 20, 2016
  1. Remove escaped entities from TOC ids

    The `HTML` render outputs table of content's ids that aren't consistent
    with the ones generated by `HTML_TOC` because the latter just strip
    special entities while the former has to deal with the already escaped
    version of them. Thus, they need to be stripped from the output.
    
    Fixes #529.
    robin850 committed Jun 20, 2016
  2. Remove final periods from autolinked URL

    Make sure that periods at the end of a sentence aren't part of an
    autolinked URL when the latter is at the end of a sentence.
    
    Fixes #465
    robin850 committed Jun 20, 2016
  3. Merge pull request #563 from elieteyssedou/patch-1

    Update License Copyright date
    mattr- committed on GitHub Jun 20, 2016
  4. Update License Copyright date

    elieteyssedou committed on GitHub Jun 20, 2016
Commits on Jun 6, 2016
  1. Merge pull request #560 from vmg/render-options

    Give access to Markdown and rendering options
    robin850 committed Jun 6, 2016
  2. Give access to Markdown and rendering options

    Expose the Markdown and rendering options through the `@options`
    instance variable which is just a Hash which mixes both options.
    Thus, custom callbacks can return an output based upon these settings.
    
    Closes #205.
    robin850 committed Jun 6, 2016
Commits on Apr 13, 2016
Commits on Mar 26, 2016
  1. Fix the Travis build

    - Update Bundler's version to fix the build on ruby-head
    - Lock Rake version down to 10.x for 1.9.2 compatibility
    - Fix the Ruby alias for version 2.3.0
    robin850 committed Mar 26, 2016
  2. Merge pull request #537 from kohler/patch-1

    Fix a likely typo
    robin850 committed Mar 26, 2016
  3. Merge pull request #460 from nolman/master

    Fixing url generation from markdown
    robin850 committed Mar 26, 2016
Commits on Jan 31, 2016
  1. Merge pull request #530 from nitoyon/unit-test-win

    Fix redcarpet_bin_test for Windows
    robin850 committed Jan 31, 2016
Commits on Dec 30, 2015
  1. Fix a likely typo

    This is almost certainly meant to check that the next character is in range.
    kohler committed Dec 30, 2015
Commits on Dec 25, 2015
  1. Redcarpet v3.3.4

    robin850 committed Dec 25, 2015
Commits on Dec 13, 2015
  1. Merge pull request #531 from nitoyon/fix-header-win

    Fix bufprintf for Windows MinGW-w64
    robin850 committed Dec 13, 2015
Commits on Dec 7, 2015
  1. Fix bufprintf for Windows MinGW-w64

    On MinGW-w64, vsnprintf returns -1 when given buffer is small
    (it should return required length as defined in C99).
    
    Because of this, bufprintf sometime fails to write string to the given
    buffer, and header HTML tag (such as <h1> and </h1>) isn't outputed
    occasionally.
    
    Fix it by defining __USE_MINGW_ANSI_STDIO.
    (see oneclick/rubyinstaller#186 for detail)
    
    Fixes #474
    nitoyon committed Dec 7, 2015
Commits on Dec 6, 2015
Commits on Nov 24, 2015
  1. Merge pull request #528 from clemensg/fix_header_anchor_encoding_bug

    Fix header anchor normalization
    robin850 committed Nov 24, 2015
Commits on Nov 20, 2015
  1. Fix header anchor normalization

    Do not call tolower on non-ASCII chars because it would otherwise
    insert invalid UTF-8 bytes into the HTML output. (tolower is not
    locale-aware)
    
    Invalid UTF-8 bytes will cause various errors, e.g. "ArgumentError
    (invalid byte sequence in UTF-8)", when rendering the generated HTML in
    Rails.
    
    Signed-off-by: Clemens Gruber <clemensgru@gmail.com>
    clemensg committed Nov 20, 2015
Commits on Oct 28, 2015
  1. Merge pull request #522 from reiz/patch-1

    Adding dependency badge to README
    robin850 committed Oct 28, 2015
Commits on Oct 17, 2015
  1. Adding dependency badge to README

    This project has no runtime dependencies. Keep up the good work.
    reiz committed Oct 17, 2015
Commits on Sep 24, 2015
  1. Redcarpet v3.3.3

    robin850 committed Sep 24, 2015
Commits on Sep 23, 2015
  1. Add a changelog entry for #516

    [ci skip]
    robin850 committed Sep 23, 2015