Package: ruby-github-markup / 1.5.1+dfsg-1

Metadata

Package Version Patches format
ruby-github-markup 1.5.1+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
docutils 013.patch | (download)

lib/github/commands/rest2html | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] make rest2html work with docutils 0.13

In that docutils version, HTMLTranslator.visit_image no longer appends
empty string to self.context, so trying to pop() from there raises an
IndexError.

Instead of the hard-coded pop call, call the overridden method, which will
call pop() on docutils 0.12 and will do nothing on docutils 0.13.

Fixes #971.

Also, fix the comment indentation.