# linebreaksbr

Source: https://zotonic.com/docs/1930/linebreaksbr

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

Language: en



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

The following string:

```django
{{ "foo\nbar"|linebreaksbr }}
```

will evaluate to `foo<br />bar`.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1930?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/1930?language=en>)
