Hi,
we use the webfm module to display a huge list of contracts in our intranet. Using the description metadata field we would like to give a very short summary of the content. I'm now facing the problem, that the summary text in the description field is truncated after an inserted "," (comma).
Any ideas, how to work around?
Thanks in advance for any hints (newbee...).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | webfm.patch | 1.33 KB | bmcmurray |
Comments
Comment #1
cbraun commentedOops. Entering "," instead of "," helps. Sorry.
Comment #2
bmcmurray commentedWhile entering the HTML entity for a comma will work, my client did not want to do this; so I wrote a small patch which changes the array implode and explode (used to send the metadata back to the module for saving via ajax) character from a comma to a tilde (~) because the tilde is far less used than a comma in metadata descriptions.
Attached is my patch, run it by placing it in your sites/all/modules folder (or wherever your webfm folder resides) and then run: patch -p0 < webfm.patch via the command line.
Hope you find this useful.
Brian
Comment #3
robmilne commentedver2.5 properly escapes user input data.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.