Skip to content

Text variables not being replaced #37

@grahammoore

Description

@grahammoore

I have a table with 5 text variables inside the same cell. The variables are:

#{days.detail.0}
#{days.detail.1}
#{days.detail.2}
#{days.detail.3}
#{days.detail.4}

I set values for each of the variables (sometimes with just a space). I can get the variables and there values back before Docx.fillTemplate() but what is put in the document is random. Sometime the first variable is set correctly, sometime first and second but that's about it, the rest stay unset.

UPDATE: Wondered if being in the table matters but it appears not to. Even in a standard paragraph I still get the issue,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions