Opened 8 years ago
Last modified 8 years ago
#41458 new enhancement
Class gets stripped out when inserting a link in author biography box
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Formatting | Keywords: | |
Focuses: | Cc: |
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.
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 whyclass
shouldn'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.