./textproc/ruby-redcarpet, Markdown that smells nice

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.5.1, Package name: ruby27-redcarpet-3.5.1, Maintainer: pkgsrc-users

Redcarpet is Ruby library for Markdown processing that smells like
butterflies and popcorn.

Redcarpet used to be a drop-in replacement for Redcloth. This is no longer the
case since version 2 -- it now has its own API, but retains the old name. Yes,
that does mean that Redcarpet 2 is not backwards-compatible with the 1.X
versions.

Redcarpet is based on the [Sundown](https://www.github.com/vmg/sundown)
library. You might want to find out more about Sundown to see what makes this
Ruby library so awesome.


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 61 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2021-01-14 15:57:36 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-redcarpet: update to 3.5.1

Version 3.5.1 (Security)

* Fix a security vulnerability using :quote in combination with the
  :escape_html option.

  Reported by Johan Smits.
   2020-03-24 18:00:50 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-redcarpet: update to 3.5.0

Update ruby-redcarpet to 3.5.0.

Version 3.5.0

* Avoid mutating the options hash passed to a render object.

    Refs #663.

    Max Schwenk

* Fix a segfault rendering quotes using StripDown and the :quote option.

    Fixes #639.

* Fix warning: instance variable @options not initialized when running under
  verbose mode (-w, $VERBOSE = true).

* Fix SmartyPants single quotes right after a link. For example:

    [John](http://john.doe)'s cat

    Will now properly converts ' to a right single quote (i.e. ’).

    Fixes #624.

* Remove the rel and rev attributes from the output generated for footnotes as
  they don't pass the HTML 5 validation.

    Fixes #536.

* Automatically enable the fenced_code_blocks option passing a HTML_TOC object
  to the Markdown object's constructor since some languages rely on the sharp
  to comment code.

    Fixes #451.

* Allow passing Range objects to the nesting_level option to have a higher
  level of customization for table of contents:

    Redcarpet::Render::HTML_TOC.new(nesting_level: 2..5)

    Fixes #519.
   2017-03-20 16:40:02 by Takahiro Kambe | Files touched by this commit (2)
Log message:
Update ruby-redcarpet to 3.4.0.

v3.4.0						2016/12/26

Redcarpet v3.4.0

This new release ships with a bunch of bug fixes especially regarding anchor
generation.

Improvements to anchor generation

The anchor generation now relies on a djb2 hashing algorithm whenever the
generated anchor is empty as non alpha-numeric chars. This is specifically
interesting for CJK contents as Redcarpet used to generate empty anchors
dealing with titles in these locales.

Special thanks to Alexey Kopytko and namusyaka for their work on that !

Also now, the html-escaped entities are removed from anchors generated with
the HTML render in order to be consistent with the HTML_TOC render and as it
is more expected.

Other improvements

* Table headers don't require a minimum of three dashes anymore; a single one
  can be used for each row.
* The Markdown and rendering options are now exposed through a Hash inside the
  @options instance variable inside your custom render objects.

Bug fixes

* Multiple single quote pairs are parsed correctly with SmartyPants.
* Remove periods at the end of URLs when autolinking to make sure that links
  at the end of a sentence get properly generated.
* Avoid escaping ampersands in href links.

Checkout the CHANGELOG for further information and changes.
   2016-03-15 16:57:59 by Takahiro Kambe | Files touched by this commit (2)
Log message:
Update ruby-redcarpet to 3.3.4.

This release simply fixes the bufprintf function to correctly work on Windows
MinGW-w64 so strings are properly written to the buffer and also skips
non-ASCII chars during anchor generation to avoid generating invalid UTF-8
bytes sequences.
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-10-04 15:38:17 by Takahiro Kambe | Files touched by this commit (2)
Log message:
Update ruby-redcarpet to 3.3.3.

Version 3.3.3

* Fix a memory leak instantiating a Redcarpet::Render::Base object.

  Oleg Dashevskii

* Fix the StripDown renderer to handle the :highlight option.

  Itay Grudev

* The StripDown renderer handles tables if the tables extension is enabled.

  amnesia7

* Fix Smarty Pants to avoid fraction conversions when there are several
  numbers separated with slashes (e.g. for a date).

  Sam Saffron