-
Notifications
You must be signed in to change notification settings - Fork 354
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
Problem with line breaks #176
Comments
http://docxtemplater.readthedocs.org/en/latest/syntax.html#raw-xml-syntax The raw xml syntax replaces the whole contents of a paragraph |
Hello guys, really awesome library, I am pretty happy with it! :) But sadly I am having the same issue, any workaround ? How could I do something like what @jefraroce says above, something like : {@my_first_tag}{my_second_tag} or like : {@my_first_tag}{@my_second_tag} Maybe I am not using the library as it must, or I am not creating the XML with the best structure, actually, and to be honest I did not understand pretty well what @edi9999 means with his comment! Sorry about! What do you mean, is it possible, is it a bug, is it a missing feature or just we are not using the library as it must ? Please any help would be appreciated. Thanks, and again it is an amazing library, congratulations! :) |
Writing
Or even
Is misusing docxtemplater. The A workaround is to put the text of the second tag in the first tag. (The tag must of course be valid xml) |
I think that could be a solution to the problem with line breaks, if we can add "\n" to the normal tags {my_tag}, so, the library could be replace them with
directly. Maybe it could work! |
@jefraroce I won't be implementing |
Hello everyone,
I'm working in a report so I need to add line breaks in the tags. This only I could do using the raw tags {@tag}, however, I found some problems. The main problem is when there is a raw tag together other the first absorb the second one.
I think that happens because when I write in a word document @ It embeds this into many different xml tags, by example:
{@my_first_tag}{my_second_tag}
{my_third_tag}
I'm not sure about the real reason, but I think the seeker confused the start and end of the raw tags.
I'm a little noob in this, please can anyone help me?, is there other way to add line breaks?
The text was updated successfully, but these errors were encountered: