How to handle white space in Author Mode?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 2
Joined: Tue Oct 19, 2021 5:53 pm

How to handle white space in Author Mode?

Post by m_prm » Wed Oct 20, 2021 10:41 am


I have read the documentation on handling whitespace in Author mode, but that has not solved my problem.
As you can see from the first picture, in Author mode there are a long series of whitespaces with dots that make it impossible to read the text. Those spaces are added automatically by Oxygen in Author mode.
whitespaceAuthorMode.PNG (10.14 KiB) Viewed 105 times
Please note that this effect seems to be random. Other texts tagged in the same way are not displayed with extra spaces, as in the second image.
readableText.PNG (18.4 KiB) Viewed 105 times
How can I specify in Oxygen not to show that whitespaces, so that the text is displayed as in image 2?

Thank you for your help.


Posts: 7705
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to handle white space in Author Mode?

Post by Radu » Wed Oct 20, 2021 1:50 pm

Hi Michela,

In the first case Oxygen seems to consider the element content as space preserve, either it has an xml:space attribute set somewhere or there is some CSS rule marking it as such, so Oxygen will consider that all spaces are important and need to be shown.
Can you maybe create a small sample TEI document exhibiting the first problem and send it to us ( Maybe we can give you more details after we look into this on our side.

Radu Coravu
<oXygen/> XML Editor

Post Reply