You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Activity
Scrum commentedon Mar 20, 2018
@arnaumanyosa this is due to the incorrect operation of the parser which is used in
posthtml-parser.For now, it's better to escaped all incoming html data.