Skip to content

Missing tabs in text #61

@Clyde256

Description

@Clyde256

I'm not sure if this is a bug or I misunderstood something.
I have a string variable in my document model that contains line breaks and tabs. In the resulting document, the tabs of the first line are applied to me, the following ones are missing.
Is it my fault?

Just before calling DocumentFactory.Create(...), the variable contains:
Snímek obrazovky 2023-09-22 091350

Item1: \tValue1\r\nItem2: \tValue2\r\nItem3: \tValue3/1\t\t Value3/2\t\t Value3/3

The resulting document is formatted as follows:
Snímek obrazovky 2023-09-22 091624

Tabs are missing between Item2 and Value 2. Same problem is Item 3.

And the template looks like this:
Snímek obrazovky 2023-09-22 091722

<%= Model.AccessoryNote%>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions