Closed (fixed)
Project:
Table Manager
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2008 at 19:18 UTC
Updated:
14 Mar 2008 at 22:19 UTC
It appears that while importing csv data with cells containing hyperlinks, Table Manager strips out the links. For example:
Imported CSV Code
Fruit,Number in bowl
"<a href=""http://en.wikipedia.org/watermelon"">Watermelon</a>",1
"<a href=""http://en.wikipedia.org/wiki/orange%20(fruit)"">Orange</a>",2
"<a href=""http://en.wikipedia.org/grape"">Grape</a>",27
Resultant table code
<table bgcolor="white" class="tablemanager">
<thead><tr><th type="1">Fruit</th><th type="1">Number in bowl
</th><th colspan="2">Operations</th> </tr></thead>
<tbody>
<tr class="odd"><td><a>Watermelon</a></td><td>1</td><td><a href="/tablemanager/edit/1317">edit</a></td><td><a href="/tablemanager/delete/1317">delete</a></td> </tr>
<tr class="even"><td><a>Orange</a></td><td>2</td><td><a href="/tablemanager/edit/1318">edit</a></td><td><a href="/tablemanager/delete/1318">delete</a></td> </tr>
<tr class="odd"><td><a>Grape</a></td><td>27</td><td><a href="/tablemanager/edit/1319">edit</a></td><td><a href="/tablemanager/delete/1319">delete</a></td> </tr>
</tbody></table>It's possible to edit the individual cells to correct the problem, but I wonder if there is a better workaround or a possible fix.
Comments
Comment #1
pobster commentedI take it you didn't notice the 'input format' below the CSV box then? ;o) You've probably just not enabled the 'a' tag in filtered html? Just imprt using full html if you don't want to add it.
Pobster
Comment #2
silurius commentedGah!
Actually, I ignored the input format because I misremembered having added
<a>to the allowed tags and should have checked that first, obviously.Comment #3
pobster commented;o) These things happen! Glad it's sorted,
Pobster