Skip to content

Can't display new lines in variable #10

@jsykora

Description

@jsykora

First off, this may not be an issue, but more of a support question.

I have a model with a TextField and I am trying to use it in a .odt template converting to .pdf via Open Office.

The value of the field is u'Line one\r\nLine two'

I've tried just the plain variable as well as the following template tags: linebreaks, linebreaksbr, safe. But none of them seem to work to allow the carriage return or newline characters.

Am I missing the proper way to allow new lines?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions