-
Notifications
You must be signed in to change notification settings - Fork 34
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
Multiline string: CarriageReturn + LineFeed (CRLF) problem #12
Comments
@J-Setzer Confirmed bug, i will fix this soon. |
It fixed? It is possible to put line break into tag content? |
Multi line strings could be created from arrays:
In template (on new line) you can use list extension:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My
docx
-Template contains the placeholder[[brief.anschrift]]
which should be replaced by a multiline string:The array passed to the
$templator->render(...)
function looks like this:As a result, the placeholder
[[brief.anschrift]]
has been replaced by...Line1 Line2 Line 3 Line 4
I have also tried several variations with single quotes
'
, double quotes"
, CRLF within code,\r
and\n
as you can see here:For testing purposes the
docx
-Template contains the following placeholders:And this is the result:
None of them returns the expected result. Am I missing something?
Question:
How can I pass a multi-line string containing
CRLF
?The text was updated successfully, but these errors were encountered: