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

TemplateProcessor "dirty" variables #609

Open
AirMike opened this issue Sep 1, 2015 · 0 comments
Open

TemplateProcessor "dirty" variables #609

AirMike opened this issue Sep 1, 2015 · 0 comments

Comments

@AirMike
Copy link

AirMike commented Sep 1, 2015

Hi,

variables in docx template can extend through multiple tags.
I see that TemplateProcessor can handle setting this variables and that is ok, but when fetching list of variables it return "dirty" variables.
Can you add some flag to getVariables method e.g getVariables($clean = FALSE) witch will return original or cleaned variables, e.g if $clean = TRUE we can strip_tags from each variable?

Thank You


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant