Forum


Replies: 4   Views: 3686
Bug in replacevariablebytext
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by smartbit  · 22-05-2015 - 08:00

I've tried it without replacing the firstname and only the name. And this is de debug info: foundNodes :: person.name - Bouckaert $persoon.naam$ >> //w:t[text()[contains(., "$person.name$")]] array(1) { [0] => class SimpleXMLElement#293 (1) { public ${0} => string(16) "$person.name$ $" } } As you see it finds "$person.name$ $" it seems it doesn't recognize the space between the two variables.