Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-redcarpet
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
textproc/ruby-redcarpet: update to 3.6.1 3.6.1 (2025-02-25) * Migrate Markdown objects to the TypedData API. Refs #785. Jean Boussier
textproc/ruby-redcarpet: update to 3.6.0 3.6.0 (2023-01-29) This release is not particularly heavy but brings a few improvements and fixes. Improvements * Avoid warnings running on Ruby 3.2+ (See #721). * Consider <center> as a block-level element (See #702). * Properly provide a third argument to the table_cell callback indicating whether the current cell is part of the header or not. * The previous implementation with two parameters is still supported (See #604 and #605). Fixes * Match fence char and length when matching closing fence in fenced code blocks (Fixes #208). * Fix anchor generation on titles with ampersands (Fixes #696).
Pullup ticket #6403 - requested by taca
textproc/ruby-redcarpet: security fix
Revisions pulled up:
- textproc/ruby-redcarpet/Makefile 1.12
- textproc/ruby-redcarpet/distinfo 1.12
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Jan 14 14:57:36 UTC 2021
Modified Files:
pkgsrc/textproc/ruby-redcarpet: Makefile distinfo
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.
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.
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.
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.
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.
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
Update ruby-redcarpet to 3.3.2. Exact changes are not available.
Pullup ticket #4723 - requested by taca
textproc/ruby-redcarpet: security fix
Revisions pulled up:
- textproc/ruby-redcarpet/Makefile 1.5
- textproc/ruby-redcarpet/distinfo 1.4
---
Module Name: pkgsrc
Committed By: taca
Date: Thu May 14 22:17:40 UTC 2015
Modified Files:
pkgsrc/textproc/ruby-redcarpet: Makefile distinfo
Log Message:
Update ruby-redcarpet to 3.2.3, including security fix.
Version 3.2.3
* Avoid rewinding content of a previous inline when autolinking is enabled.
Daniel LeCheminant
* Fix escaping of forward slashes with the Safe render object (add a missing
semi-colon).
Update ruby-redcarpet to 3.3.1. pkgsrc change: * Add support for pkg_alternatives. * Allow build on Ruby 2.2. Version 3.3.1 * Include the Redcarpet::CLI's file in the gemspec to make it available when downloading. Version 3.3.0 * Fix the stripping of surrounding characters that should be removed during anchor generation. * Provide a Redcarpet::CLI class to create custom binary files. * Relying on Ruby's OptionParser, it's now straightforward to add new options, rely on custom render objects or handle differently the rendering of the provided files. * Undeprecate the compatibility layer for the old RedCloth API. * This layer actually ease the support of libraries supporting different Markdown processors. * Strip out style tags at the HTML-block rendering level when the :no_styles options is enabled ; previously they were only removed inside paragraphs. * Avoid parsing images when the given URL isn't safe and the :safe_links_only option is enabled. Alex Serban * Avoid parsing references inside fenced code blocks so they are now kept in the code snippet. David Waller * Avoid escaping table-of-contents' headers by default. A new :escape_html option is now available for the HTML_TOC object if there are security concerns. * Add the lang- prefix in front of the language's name when using :prettify along with :fenced_code_blocks. * Non-alphanumeric chars are now stripped out from generated anchors (along the lines of Active Support's #parameterize method).
Update ruby-redcarpet to 3.2.3, including security fix. Version 3.2.3 * Avoid rewinding content of a previous inline when autolinking is enabled. Daniel LeCheminant * Fix escaping of forward slashes with the Safe render object (add a missing semi-colon).
Update ruby-redcarpet to 3.2.2.
pkgsrc change:
* Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby.
Version 3.2.2
* Consider script as a block-level element so it doesn't get included inside a
paragraph.
Version 3.2.1
* Load RedcarpetCompat when requiring Redcarpet for the sake of backward
compatibility.
Loren Segal
Version 3.2.0
* Add a Safe renderer to deal with users' input. The escape_html and
safe_links_only options are turned on by default.
Moreover, the block_code callback removes the tag's class since the user can
basically set anything with the vanilla one.
Robin Dupret
* HTML5 block-level tags are now recognized
silverhammermba
* The StripDown render object now displays the URL of links along with the
text.
Robin Dupret
* The RedCloth API compatibility layer is now deprecated.
Robin Dupret
* A hyphen and an equal should not be converted to heading.
namusyaka
* Fix emphasis character escape sequence detection while mid-emphasis.
jcheatham
* Add = to the whitelist of escaped chars so it can be used inside highlighted
snippets.
jcheatham
* Convert trailing single quotes to curly quotes. For example, Road Trippin'
now converts to Road Trippin¡Ç.
Kevin Chen
* Allow in-page links (e.g. [headline](#headline)) when :safe_links_only is
set.
jomo
* Enable emphasis inside of sentences in multi-byte languages when
:no_intra_emphasis is set.
Chun-wei Kuo
* Avoid making :no_intra_emphasis only match spaces. This allows using
emphasizes inside quotes when the option is enabled for instance.
Jason Webb and BJ Homer
* The StripDown renderer handles image tags now.
Version 3.1.2
* Remove the yielding of anchors in the header callback. This was a breaking
change between 3.0 and 3.1 as the method's arity changed.
Allow build with ruby21.
Update ruby-redcarpet to 3.1.1. 3.1.1 This release of Redcarpet is meant to address a serious bug when rendering text that contains headings and contains all the prior enhancements of Redcarpet 3.1.0. For more information about Redcarpet 3.1.0, please see the release notes * Bug fixes - Fix a crash when rendering text that contained an anchor. 3.1.0 It's been a long time since since we've released any version of Redcarpet but we are happy to announce the release of the version 3.1.0. Over 100 commits have been added since 3.0.0 with some new exciting features. * New features - Footnotes - GitHub style anchors - The :quote option * Bug fixes - Fix code blocks' classes when using Google code prettify #314 - Follow the standard to detect when new paragraph is outside last item #111 - Make ordered lists preceded by paragraph parsed with :lax_spacing #311 - Allow using tabs between a reference's colon and its link #337
Add ruby-redcarpet package version 3.0.0. 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.