Modify ↓
Opened 20 months ago
Last modified 19 months ago
#14339 new defect
HTML not rendering correctly
| Reported by: | Ryan J Ollos | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | WikiTableMacro |
| Severity: | normal | Keywords: | |
| Cc: | mayurlogan@… | Trac Release: | 1.6 |
Description
See report on trac-users.
Attachments (0)
Note: See
TracTickets for help on using
tickets.



SQLScalarmacro always renders a scalar value from the given query as plain text since [14524] because the macro shouldn't render raw html fragment. However,SQLTablemacro renders rows from the given query as wiki text, inconsistently.After the following patch,
SQLScalarmacro renders a scalar value as wiki text and you can link using such a querySELECT '[https://example.org/ '||COUNT(id)||']'in the macro.wikitable/scalar.py
system_messageelse:value = rows[0][0] if len(rows) else "(NULL)"