Package: ruby-kramdown / 1.17.0-1+deb10u2
Metadata
| Package | Version | Patches format |
|---|---|---|
| ruby-kramdown | 1.17.0-1+deb10u2 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| skip_missing_math_engines.patch | (download) |
test/test_files.rb |
13 13 + 0 - 0 ! |
--- |
| fix_manpage_warnings.patch | (download) |
man/man1/kramdown.1 |
8 4 + 4 - 0 ! |
--- |
| Add option forbidden_inline_options.patch | (download) |
lib/kramdown/options.rb |
10 10 + 0 - 0 ! |
add option forbidden_inline_options |
| 0004 Restrict Rouge formatters to Rouge Formatters namesp.patch | (download) |
lib/kramdown/converter/syntax_highlighter/rouge.rb |
2 1 + 1 - 0 ! |
restrict rouge formatters to rouge::formatters namespace
ff0218a added support for specifying custom Rouge formatters with the
constraint that the formatter be in theRouge::Formatters namespace, but
it did not actually enforce this constraint. For example, this is valid:
```ruby
Rouge::Formatters.const_get('CSV')
=> CSV
```
Adding the `false` parameter to `const_get` prevents this:
```ruby
Rouge::Formatters.const_get('CSV', false)
NameError: uninitialized constant Rouge::Formatters::CSV
```
This is a backport of the original patch at
https://github.com/gettalong/kramdown/pull/708, backported by Antonio
Terceiro to version 1.17.0.
Signed-off-by: Antonio Terceiro <terceiro@debian.org>
|
