Prefixing/suffixing content plugin fields
Posted: 2021-06-29, 16:54 UTC
Hello.
The TC help for "Dialog box: Custom columns" says:
---
[="prefix"pluginname.fieldname.unit"suffix"]
The strings prefix and/or suffix will only be shown when the field "fieldname" exists and has a valid value in plugin pluginname. For example, you can use this to show a measurement unit when the field is present, and nothing when the field is not present.
---
This is great.
Not sure this is a bug, but: new line chars (and other escaped chars) are not interpret in the prefix/suffix string (TC 10.00).
I can understand this if the feature is used for creating custom views (where most escape sequences don't make sense).
However, it would be great to have such escape sequences in tooltips (here, "\n" is displayed instead of a line break).
Maybe it is an option to simply ignore escape sequences for the custom views but accept them for tooltips?
What do you think?
BR
funkymonk
The TC help for "Dialog box: Custom columns" says:
---
[="prefix"pluginname.fieldname.unit"suffix"]
The strings prefix and/or suffix will only be shown when the field "fieldname" exists and has a valid value in plugin pluginname. For example, you can use this to show a measurement unit when the field is present, and nothing when the field is not present.
---
This is great.
Not sure this is a bug, but: new line chars (and other escaped chars) are not interpret in the prefix/suffix string (TC 10.00).
I can understand this if the feature is used for creating custom views (where most escape sequences don't make sense).
However, it would be great to have such escape sequences in tooltips (here, "\n" is displayed instead of a line break).
Maybe it is an option to simply ignore escape sequences for the custom views but accept them for tooltips?
What do you think?
BR
funkymonk