In
Item1307 Sven stated that he would like to have summaries with working links. This is a useful enhancement. Hence:
Add a new
render
token to
$summary()
in FormattedSearch. Documentation:
$summary(render) |
Formatted topic summary, with text containing emphasis and links |
We cannot change the current spec of plain text summary since this would break some existing TWiki applications out there. Many things can go wrong if
$summary
suddenly returns formatted text instead of plain text, for example:
- if feeding into a form field without URL encoding the summary, user gets gibberish (there is no need to URL encode plain text summary). (Example bug Item1375, "Not URL encoded search parameter" is not a related TWiki app example, but it could well be)
- if sending inside an XML tag to another app, it breaks the DTD, and might break the app on the other side
- if a script sends a plain text e-mail with topic summary, user gets gibberish
Deferred to Edinburgh (unless already implemented / need to be enabled simply with new
render
token).
Please drive responsibly and safely!
--
PTh
See related
$changes(render)
enhancement,
Item1390.
--
PTh
Undeferred, post Dakar
CC