You are here: Foswiki>Tasks Web>Item1376 (07 Jan 2015, GeorgeClark)Edit Attach

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

ItemTemplate edit

Summary Add new $summary(render) to FormattedSearch
ReportedBy PeterThoeny
Codebase
SVN Range Sun, 08 Jan 2006 build 8176
AppliesTo Engine
Component SEARCH
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease major
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r7 - 07 Jan 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy