[dw-free] unable to filter to icons with keywords/descriptions/comments containing parentheses
[commit: http://hg.dwscoalition.org/dw-free/rev/845ad55ed81d]
http://bugs.dwscoalition.org/show_bug.cgi?id=4339
Return only the description as alt text in the icon browser.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=4339
Return only the description as alt text in the icon browser.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/tools/endpoints/getuserpics.bml
-------------------------------------------------------------------------------- diff -r 013614e0034c -r 845ad55ed81d htdocs/tools/endpoints/getuserpics.bml --- a/htdocs/tools/endpoints/getuserpics.bml Thu Feb 23 01:52:53 2012 +0800 +++ b/htdocs/tools/endpoints/getuserpics.bml Thu Feb 23 02:11:24 2012 +0800 @@ -46,7 +46,9 @@ # FIXME: update to a simple . "" conversion when we have a newer JSON version # ( no code ref will be required ) - alt => sub { LJ::ehtml($upic->alttext) . "" }, # force to string + # we don't want the full version of alttext here, because the keywords, etc + # will already likely be displayed by the icon + alt => sub { LJ::ehtml($upic->description) . "" }, # force to string comment => LJ::strip_html($upic->comment), id => $id, --------------------------------------------------------------------------------