fbpx
Skip to content
Questions & AnswersCategory: Questions[v4.36] Why are newlines removed? Also text outside boundaries is ignored.
Michaël asked 2 years ago

Hi,

I am working on a project, where we already use your script as follows:

....english..italian....

1+1=3

The Italian language is shown correctly, but the English text is wrong. I went looking in your source code and it seems the script just ignores the set boundaries. This looks like a bug to me. When I use the '....' notation I would expect it to leave the text outside it as is.

Also there are some variables that cannot be accessed, such as 'langblockprefix' and 'langblockpostfix'. Are they in development, or

1 Answers
Dave Hilditch Staff answered 2 years ago

What issue are you experiencing? We cannot just use the set boundaries because of the shortformat we also allow inside leaf nodes, e.g. english..italian

For langblockprefix, check the class added to the body element, this should help you with most customisations.

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.