# brlinebreaks

Source: https://zotonic.com/docs/1926/brlinebreaks

URI: https://zotonic.com/id/1926

Language: en



Translate HTML `<br/>` elements into ASCII newlines (`\n`).

The following string:

```django
{{ "foo<br/>bar"|brlinebreaks }}
```

will evaluate to `foo\nbar`.

::: {.note title="Note"}
Non-closing line breaks (`<br>`) are currently not converted.
:::

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1926?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1926?language=en>)
