[Collab-qa-commits] r2263 - udd/sql
Andreas Tille
tille at alioth.debian.org
Sun May 6 09:42:59 UTC 2012
Author: tille
Date: 2012-05-06 09:42:59 +0000 (Sun, 06 May 2012)
New Revision: 2263
Modified:
udd/sql/bibref.sql
Log:
Handle non-breaking space in descriptions properly
Modified: udd/sql/bibref.sql
===================================================================
--- udd/sql/bibref.sql 2012-05-06 03:00:31 UTC (rev 2262)
+++ udd/sql/bibref.sql 2012-05-06 09:42:59 UTC (rev 2263)
@@ -85,7 +85,7 @@
p.source AS source,
b.package AS bpackage,
b.value AS bibkey,
- p.description AS description
+ replace(p.description, E'\xc2\xa0', '\ ') AS description -- replace non-breaking spaces to TeX syntax
FROM packages p
JOIN (SELECT DISTINCT source, package, value FROM bibref WHERE key = 'bibtex') b ON b.source = p.source
) tmp
More information about the Collab-qa-commits
mailing list