> For the complete documentation index, see [llms.txt](https://wopehq.gitbook.io/muninn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wopehq.gitbook.io/muninn/config/trim.md).

# Trim

By default muninn trims the spaces of the collected data.

{% code title="HTML" %}

```markup
<div class="parent">
  <div class="blue">     Blue Text      </div>
</div>

```

{% endcode %}

Let's get the content of the element with the `blue` class.

{% code title="Config" %}

```javascript
{
    "blueText": ".blue" 
}
```

{% endcode %}

{% code title="Output" %}

```javascript
{
    "blueText": "Blue Text" 
}
```

{% endcode %}

However, this feature can be disabled if desired.

{% code title="Config" %}

```javascript
{
    "blueText": {
        "selector": ".blue",
        "trim": false
    } 
}

// or use this shortcut

{
    "blueText": ".blue | non-trim",
}
```

{% endcode %}

{% code title="Output" %}

```javascript
{
    "blueText": "     Blue Text      " 
}
```

{% endcode %}
