I'm using openTBS to convert data from a mysql db (via PHP) to some word and excel docs.
One of my problems is, openTBS is deleting lots of spaces near the tags..
blablabla [base_sub1.value] blablabla
and the output is
blablablavalue blablabla
or
blablablavalueblablabla
Is there any way to solve this?
Ms Word often cut the inner XML content because of formating, spelling and version history.
This may cause OpenTBS to loose some space at those place because dealing with attribute xml:space="preserve"
becomes too complicated.
Since OpenTBS version 1.7.6, such space problem are fixed in the main body. There may still have problems in other special parts such as headers and footers.
Otherwise, most of the time if you cut the TBS tag and paste it on the same place that fixes the problem. Or cut and do a special paste as "Unformatted text".
Otherwise, in order to avoid the space errors, you must do as following during the template edition: