Closed (fixed)
Project:
Views OAI-PMH
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2012 at 14:40 UTC
Updated:
27 Mar 2013 at 21:10 UTC
I am outputing the body of a node into the dc:description element, but when there are commas in the text (e.g. "Virginia Woolf, “Modern Fiction” from The Common Reader"), it is split into several dc:description elements:
<dc:description><p>Virginia Woolf</dc:description>
<dc:description>“Modern Fiction” from The Common Reader</p></dc:description>
The attached patch changes a use of isset() to !empty(), which gives the expected result of:
<dc:description><p>Virginia Woolf, “Modern Fiction” from The Common Reader</p></dc:description>
| Comment | File | Size | Author |
|---|---|---|---|
| views_oai_pmh-empty_multiple_field.patch | 888 bytes | Dave-B |
Comments
Comment #1
rjerome commentedPushed to repository...
http://drupalcode.org/project/views_oai_pmh.git/commit/3d6f81b