Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tabs in text #61

Open
Clyde256 opened this issue Sep 22, 2023 · 0 comments
Open

Missing tabs in text #61

Clyde256 opened this issue Sep 22, 2023 · 0 comments

Comments

@Clyde256
Copy link

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%>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant