Opened 9 years ago
Last modified 9 years ago
#41458 new enhancement
Class gets stripped out when inserting a link in author biography box
| Reported by: | neodjandre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Formatting | Version: | 3.5 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Class gets stripped out when inserting a link in author biography box
For example <a href="#" class="test">My link</a>
becomes
<a href="#" >My link</a>
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Not exactly a bug, this is intentional. For some background, see [21790], #20210 and #17977.
Right now, the only allowed HTML attributes on a link in the user description are:
href,title, andrel. However, I'm not sure whyclassshouldn't be allowed. On the other hand, targeting with CSS a link in the user bio might not be so hard. Changing from bug to enhancement as this could be something worth considering.