[ https://issues.apache.org/jira/browse/FELIX-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757237#comment-17757237 ]
Serge Huber commented on FELIX-6630: ------------------------------------ Here's an example from a quick test. Without the white-space: pre-wrap setting: !Screenshot 2023-08-22 at 10.03.46.png! With white-space: pre-wrap: !Screenshot 2023-08-22 at 09.48.40.png! All I had to do is use \n characters in the OSGi localized metadata properties file as this: {code} jCustomerPublicURLDescription=Specify the jCustomer public URL to be used in client side requests to jCustomer public APIs (/context.json, /eventcollector) \ It can be useful to achieve multi domains (in case your jExperience server is not using the same domain as the jCustomer server) \n \ By default: this property is not used and the public address is read from jCustomer config (/cxs/cluster). \n \ Available placeholders include: \n \ - $WEBAPP_CONTEXT which will be replaced by the current webapp application context if there is one \n \ - $CURRENT_SITE which will be replaced by the rendered page site key. \n \ Supported values: \n \ - $WEBAPP_CONTEXT/modules/jexperience/proxy/$CURRENT_SITE will use the internal jExperience proxy, so all the public requests will use jExperience as proxy. \n \ - /your_own_local_proxy : In case the jExperience server is already behind a proxy, you could reuse your own proxy then forward to jCustomer. \n \ - http://your-jcustomer-adress: In case you would like to use directly an absolute address of your own, it's still possible. {code} > Make it possible to have newline characters in Felix WebConsole OSGi > configuration property descriptions > -------------------------------------------------------------------------------------------------------- > > Key: FELIX-6630 > URL: https://issues.apache.org/jira/browse/FELIX-6630 > Project: Felix > Issue Type: Improvement > Components: Web Console > Affects Versions: webconsole-4.8.12 > Reporter: Serge Huber > Priority: Major > Attachments: Screenshot 2023-08-22 at 09.48.40.png, Screenshot > 2023-08-22 at 10.03.46.png > > > Currently it is not possible to use newline characters (or any way to go to a > new line including HTML br or p tags) in a OSGI configuration description. It > would be nice to be able to do so to provide more detailed descriptions of > some configurations. > It is clear that this must be done carefully to avoid any security issues so > ideally the solution to this would not include allowing any HTML tags, but > possibly just some kind of marker (maybe a String \n character ?) to allow > the new line. > I am also volunteering to work on this if it seems interesting to the > community. -- This message was sent by Atlassian Jira (v8.20.10#820010)