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

Windows 10 Linux Subsystem: Resulting HTML is empty #16

Open
pixelkritzel opened this issue May 4, 2017 · 1 comment
Open

Windows 10 Linux Subsystem: Resulting HTML is empty #16

pixelkritzel opened this issue May 4, 2017 · 1 comment

Comments

@pixelkritzel
Copy link

pixelkritzel commented May 4, 2017

On my Windows 10 Linux Subsystem the resulting HTML ist empty.

php-cgi ist in path

which php-cgi
/usr/bin/php-cgi

The config

module.exports = {
	options: {
		processLinks: true,
		htmlhint: {
			'tagname-lowercase': true,
			'attr-lowercase': true,
			'attr-value-double-quotes': true,
			'attr-value-not-empty': false,
			'doctype-first': true,
			'tag-pair': true,
			'tag-self-close': true,
			'spec-char-escape': true,
			'id-unique': true,
			'src-not-empty': true,
			'alt-require': true
		}
	},

	dist: {
		files: [
			{
				expand: true,
				cwd: '',
				src: [
					'*.php'
				],
				dest: '',
				ext: '.html'
			}
		]
	}
};

This process works on Mac, Git Bash for Windows, CMD and Ubuntu Desktop 16.04

I don't even know how to debug it. Maybe you have an idea.

@bezoerb
Copy link
Owner

bezoerb commented Jun 12, 2017

have you tried the cli version of php2html (https://github.com/bezoerb/php2html)

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

No branches or pull requests

2 participants