On MacOS 10.13.2 everything works perfectly. But if I run exactly the same on a Jenkins setup I have detected that gulp-posthtml generates some malformed HTML:
The original part of the code (part of an iron-ajax call)
body='{"start":[[startingItem]], "count":[[itemsPerPage]], "query": "[[query]]"}'
The part of the code generated on MacOS (html works)
body="{"start":[[startingItem]], "count":[[itemsPerPage]], "query": "[[query]]"}"
The code generated by Jenkins (on an Ubuntu 16)
body="{" start":[[startingitem]],="" "count":[[itemsperpage]],="" "query":="" "[[query]]"}"=""
Notice the space added before start and the ="" in several positions
gulp-posthtml
runs with no errors but generates malformed HTML only in UbuntuDetails
I use
gulp-posthtml
in my Polymer project to strip the CSS from a component and apply autoprefixer, like thisOn MacOS 10.13.2 everything works perfectly. But if I run exactly the same on a Jenkins setup I have detected that
gulp-posthtml
generates some malformed HTML:The original part of the code (part of an
iron-ajax
call)body='{"start":[[startingItem]], "count":[[itemsPerPage]], "query": "[[query]]"}'
The part of the code generated on MacOS (html works)
body="{"start":[[startingItem]], "count":[[itemsPerPage]], "query": "[[query]]"}"
The code generated by Jenkins (on an Ubuntu 16)
body="{" start":[[startingitem]],="" "count":[[itemsperpage]],="" "query":="" "[[query]]"}"=""
Notice the space added before
start
and the=""
in several positionsEnvironment
MacOS environment
Jenkins environment