Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#2599 - Characters in package description get eaten
Attached to Project:
AUR web interface
Opened by Leslie Polzer (skypher) - Sunday, 17 April 2005, 21:14 GMT
Last edited by Paul Mattal (paul) - Saturday, 11 June 2005, 04:19 GMT
Opened by Leslie Polzer (skypher) - Sunday, 17 April 2005, 21:14 GMT
Last edited by Paul Mattal (paul) - Saturday, 11 June 2005, 04:19 GMT
|
DetailsThe description text for kguitar reads:
"Guitarist's tool" but in AUR the single quote is gone. May occur with other characters, perhaps someone should check. |
This task depends upon
Closed by Paul Mattal (paul)
Tuesday, 01 August 2006, 04:43 GMT
Reason for closing: Fixed
Additional comments about closing: in r286
now removes " or ' from pkgdesc only if they form a start/end pair
Tuesday, 01 August 2006, 04:43 GMT
Reason for closing: Fixed
Additional comments about closing: in r286
now removes " or ' from pkgdesc only if they form a start/end pair
bug2599.diff
The attached patch keeps the current behavior for all lines other than pkgdesc. In the case of pkgdesc, it strips off any leading or ending single or double quotes, using php's trim(), which leaves any parentheses as well as quotes within the actual description intact.
"'ncc' is aC source code analyzer which generates program flow and variable usage information"
but the first quote is gone in AUR.
I'd suggest you change the package rather than us trying to write the complicated algorithm needed to do it in the AUR, unless, of course, you would like to take a stab at it yourself. :)