Permalink
Commits on Jul 14, 2016
Commits on Jun 22, 2016
  1. Remove requirement of three dashes for table headers

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

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

    robin850 committed Jun 21, 2016
    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.
  2. Remove trailing new line sequence from tested output

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

    robin850 committed Jun 20, 2016
    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.
  2. Remove final periods from autolinked URL

    robin850 committed Jun 20, 2016
    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
  3. Merge pull request #563 from elieteyssedou/patch-1

    mattr- committed Jun 20, 2016
    Update License Copyright date
Commits on Jun 6, 2016
  1. Merge pull request #560 from vmg/render-options

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

    robin850 committed Jun 6, 2016
    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.
Commits on Apr 13, 2016
Commits on Mar 26, 2016
  1. Fix the Travis build

    robin850 committed Mar 26, 2016
    - 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
  2. Merge pull request #537 from kohler/patch-1

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

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

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

    kohler committed Dec 30, 2015
    This is almost certainly meant to check that the next character is in range.
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

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

    nitoyon committed Dec 7, 2015
    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
Commits on Dec 6, 2015
Commits on Nov 24, 2015
  1. Merge pull request #528 from clemensg/fix_header_anchor_encoding_bug

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

    clemensg committed Nov 20, 2015
    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>
Commits on Oct 28, 2015
  1. Merge pull request #522 from reiz/patch-1

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

    reiz committed Oct 17, 2015
    This project has no runtime dependencies. Keep up the good work.
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

    robin850 committed Sep 23, 2015
    [ci skip]
  2. Merge pull request #516 from be9/master

    robin850 committed Sep 23, 2015
    Fix memory leak in Redcarpet::Render::Base
Commits on Sep 11, 2015
  1. Fix memory leak in Redcarpet::Render::Base

    be9 committed Sep 11, 2015
    rb_redcarpet_rbase_alloc used to allocate a rb_redcarpet_rndr instance
    which was never freed.
    
    This caused 312 leaked bytes (on a 64-bit machine) on every render call!
Commits on Sep 3, 2015
  1. Merge pull request #515 from itay-grudev/master

    robin850 committed Sep 3, 2015
    Temporary fix to vmg/redcarpet#514