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

{%vm%} vertical merge not working as expected #571

Open
chrisu-mi opened this issue Nov 12, 2024 · 0 comments
Open

{%vm%} vertical merge not working as expected #571

chrisu-mi opened this issue Nov 12, 2024 · 0 comments
Labels

Comments

@chrisu-mi
Copy link

chrisu-mi commented Nov 12, 2024

Describe the bug

The {%vm%} tag is not working as expected.

I import data from a Yaml file:
from ruamel.yaml import YAML
yaml=YAML(typ='safe')
with open(path_DuT_list, "r") as f:
yaml_DuT_list = yaml.load(f)

from this file:
DuT_list.yaml.txt

I use the tag in simple table.
image

The result looks like that, all rows are merged, even though there are actually different values:
image

I have a nested table looking like that
image

There is nothing happening, see:
image

I already tried to change the data type from int to string, but results are the same

To Reproduce

see code examples above

Expected behavior

First table should look like this:
image

Second table expectation:
image

Additional context

I tried the following docxtpl version: 0.18.0; 0.17.0 and 0.16.8
and also various older python-docx and jinja2 packages.

@chrisu-mi chrisu-mi added the bug label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant