Skip to content

Cannot access data with special characters #434

@Goostavo

Description

@Goostavo

When using docx templates. I have a json like that:

{
   "myObj":  {
       "Key with spaces":  "random value"
  }
}

I cannot access my variable within the template.
I've tested:
+++ myOjb["Key with spaces"] +++
+++ myObj.Key with spaces +++

Is there any way to directly acess this on the template, without removing the spaces?

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