Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html relative path #2424

Merged
merged 3 commits into from
May 12, 2015
Merged

Html relative path #2424

merged 3 commits into from
May 12, 2015

Conversation

crowbot
Copy link
Member

@crowbot crowbot commented May 11, 2015

Closes #2417

garethrees and others added 2 commits May 6, 2015 10:49
pdftohtml will use the file path as the basis for generating the
image links in the generated HTML, so we want them to be relative,
not absolute. Ruby 1.9 tempfile.path will generate an absolute
path when given the current directory as the tmpdir, whilst 2.0
and 1.8 will use a relative one.
@crowbot
Copy link
Member Author

crowbot commented May 11, 2015

No test here as a unit test is not really appropriate, and I'm not sure this is worth the overhead of an integration test.

@garethrees
Copy link
Member

👍

@crowbot crowbot merged commit 738dcb2 into rails-3-develop May 12, 2015
@crowbot crowbot deleted the html-relative-path branch May 29, 2015 14:39
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.

2 participants