Modify ↓
      
Opened 18 years ago
Closed 18 years ago
#6278 closed defect (fixed)
remove unnecessary span tag
| Reported by: | anonymous | Owned by: | Matthew Good | 
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 | 
| Component: | report system | Version: | |
| Severity: | minor | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Hi,
I would like to make iconized report plugin which replace specified table contents into icon like JIRA.
While I hack my plugin, report and custom query doesn't have span tag but ?CustomTicket macro have it. I show generate HTML:
Report
... <td class="type">defect</td> ...
CustomTicket macro
<td class="type"><span>defect</span></td>
Solution is just add 'py:strip="True"' attribute at query_result.html. See attached patch.
regards,
Takashi Okamoto
Attachments (1)
  Note:
 See   TracTickets
 for help on using tickets.
    



  
patch for removing span tag in CustomQuery macro.