-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 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. |