Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Make sure the htmlRelativeFontPath is correct #344

Merged
merged 1 commit into from
Jul 31, 2016

Conversation

SBeator
Copy link
Contributor

@SBeator SBeator commented Jul 31, 2016

The htmlRelativeFontPath should be the relative path from estHtml to o.dest, instead of be the relative path from destHtml to another relative path.

So I just change one line. And this change will fix the bugs:

  1. relativeRe generates zero width matches in destHtml
  2. If we set destCss or destHtml in task, the src path of the font-face in html will not be correct.

BTW, I am sorry I don't understand your test cases so I didn't add new test for my change.

@sapegin sapegin merged commit f55d5f4 into sapegin:master Jul 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants