Is there a way to remove the whitespace generated ...
# help
d
Is there a way to remove the whitespace generated when using handlebar templates? With a response body containing a loop and if/then/else logic, the resulting response from the stub contains a lot of extra whitespace. Example in thread.
Copy code
{
"data" : [
    
    
        
        
    
    {
        "id": 36595412,
        "attributes": {
            "firstName": "Zlikg",
            "lastName" : "Sujpdcgqz",
            "department": "marketing",
            "joined": "2018-03-04",
        }
    },
...
t
Try the
{{#trim}}..{{/trim}}
helper
👍 1