Update 2021.1 result as text

In Connect version 2021.1 the output behavior of the text scripts has been changed so that by default the output is text ( result.text() ) and no longer HTML ( result.html() ). We were told that this was probably the more common case, which may be so. However, at the bottom of the script editor in Options, this can be changed per script from text to HTML. Unfortunately, this must then be done individually for each script.

For our customers (mostly direct printing) and also for our automation projects, we rather need the output as HTML, so that e.g. breaks (<br>) in an address script are taken into account. Therefore it would be nice if there was a global setting option for the preferred output variant.

We received multiple reports and decided to revert this in the oncoming 2021.2 release.

3 Likes