Improved: tooltip content on the registration form#89
Conversation
ymaheshwari1
commented
May 21, 2021
- Improved the tooltip content for the screen name in the registration form
|
Hi, As I am looking around the roller, found that when using struts2 tags the tooltip attribute does not support HTML, so should we remove HTML from the tooltip text? Text passed as tooltip content: https://github.com/apache/roller/blob/master/app/src/main/resources/ApplicationResources.properties#L1451** |
|
the bootstrap ui does still support html in tooltips, its just disabled by default. I am not sure what would be the best way to enable it. Doesn't look like struts lets you set a data attribute. |
|
Hi @ymaheshwari1 @mbien, For the current case, I think we can consider removing the HTML as there are security concerns enabling the HTML mode. WDYT? |
|
I think, yes we can do that, as the HTML is used only in some tooltips. |
yeah sure, there are not that many anyway. I was checking if we could maybe enable some selectively for strings which are known to be static. But yeah lets just remove them. are those properties also tooltips or are they used somwhere else? roller/app/src/main/resources/ApplicationResources.properties Lines 1474 to 1476 in 743f1d2 since they contain links. |
Hi, These are displayed when the https://github.com/apache/roller/blob/master/app/src/main/webapp/WEB-INF/jsps/core/Register.jsp#L73 But, as they are used in |
|
Will handle the issue of HTML in tooltips in another MR, hence making it ready for review. |
|
thanks for the fix looks good. |
