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

Detect cases when replacement tags are split due to different formatting #6

Closed
centic9 opened this issue Jan 14, 2016 · 1 comment
Closed

Comments

@centic9
Copy link
Owner

centic9 commented Jan 14, 2016

Currently, if the replacement-tags span multiple formats, replacement is simply not done, because we look at a run at a time. There are multiple options to handle this better:

  • detect incorrectly formatted tags and fail gereation
  • detect an unclosed tag and include text from the next run in this case
@centic9
Copy link
Owner Author

centic9 commented Jan 14, 2016

We now at least print out a warning. I did not want to stop processing as there might be cases where this is intended, i.e. where "${" is part of the document itself...

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

No branches or pull requests

1 participant