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

text:span elements shadow TBS tags #23

Open
rotdrop opened this issue Oct 5, 2021 · 1 comment
Open

text:span elements shadow TBS tags #23

rotdrop opened this issue Oct 5, 2021 · 1 comment

Comments

@rotdrop
Copy link

rotdrop commented Oct 5, 2021

Hi,

I have the problem that my version of Libreoffice sometimes likes to insert superfluous text:span elements. The problem is that this result in OpenTBS failing to substitute tag. For example I have the tag
[onshow.orchestra:treasurer:email]
which sometimes is "cut" into pieces in content.xml like
<text:span text:style-name="T27">[</text:span><text:span text:style-name="T24">onshow.orchestra:treasurer:email]</text:span>
So in this particular case the leading square-bracket is separated by this span element.

Is there a way to make OpenTBS "fix" this issue or to prevent LibreOffice from doing things like this?

Here is the particular Office-file:

instrument-insurance-record.odt

In this particular example the [onshow.orchestra:treasurer:email] is correctly substituted in the field below the signature, but not in the sender-address-field of the letter.

Any known work-around, except unzipping, editing and re-packing the document?

Kind thanks

Claus

@rotdrop
Copy link
Author

rotdrop commented Oct 5, 2021

I can somehow work-around this problem by first cutting the paste in LO, and then use "Paste Special -> Unformatted Text". But this is just too complicated. Users do not expect problems like this.

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