Skip to content

Making it so pandoc respects the dimensions of images in gdocs.#15

Closed
yelidrissi wants to merge 5 commits intodergachev:masterfrom
yelidrissi:master
Closed

Making it so pandoc respects the dimensions of images in gdocs.#15
yelidrissi wants to merge 5 commits intodergachev:masterfrom
yelidrissi:master

Conversation

@yelidrissi
Copy link
Contributor

Lacking feature in the gdocs-export program that has been requested.

Depends on this previous pull request: #14

A lot of features are missing from the older version of pandoc that's used in the project, hence the motivation for the upgrade.
Lacking feature in the gdocs-export program that has been requested.
@fbarbanson
Copy link

Approved.

def fixup_image_attributes
doc.css("img").each do |img|
style = img.attr('style')
%w[height width].each do |att|
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yelidrissi please unwind this loop

 The original purpose of the update was to have a sufficiently modern version of ruby in the default package repositories, but it's also useful for multiple                              other reasons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants