Skip to content
This repository has been archived by the owner on Jul 24, 2022. It is now read-only.

Render original content when HTML minifier is disabled #21

Merged
merged 1 commit into from
May 23, 2018

Conversation

ertrzyiks
Copy link
Contributor

Aims to fix #16
Related to #20

Make sure that the HTML content is untouched when the HTML minifier is disabled.

@ertrzyiks ertrzyiks changed the title Render original content when html minifier is disabled Render original content when HTML minifier is disabled May 18, 2018
return createSandbox(Hexo, {
fixture_folder: path.join(__dirname, '..','fixtures'),
plugins: [
path.join(__dirname, '..', '..', 'node_modules', 'hexo-renderer-ejs', 'index.js'),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not ideal, there should be way to pass just hexo-renderer-ejs eventually.

@bhaskarmelkani bhaskarmelkani merged commit cab550c into hexojs:master May 23, 2018
@bhaskarmelkani
Copy link
Member

@ertrzyiks Thanks a lot for your contribution 👍

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.

Issue with html_minifier.enable set to false
2 participants