Alinks in Tables
midkemia - April 29, 2007 - 17:54
| Project: | Alinks |
| Version: | 5.x-1.4-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
I now have almost 30 Alinks and seems to be running well.
I have a table with 2 columns and sevral rows. If the link word appears in both colums Alink provides a link for each case. Not a biggie problem but thought you may like to know.
Rows do not appear affected

#1
Further information the string has to be in both columns and the same row, if it is different rows, the second occasion does not get linked
#2
Does this problem persist in the latest version of alinks?
#3
Still existing in 1.4-1 will give 1.4-3 a try later today
see http://www.crydee.com/?q=node/1722
#4
Verified bug still exists with 5.x 1.4-3
#5
I need more info. You have set alinks to change only the first occurrence of the word?
#6
alinks limit is set to 1
I created a basic page using the following code
<table border="0"><tbody><tr><td style="width: 100px">Magician</td>
<td style="width: 100px">Magician</td>
<td style="width: 100px">Magician</td>
<td style="width: 100px">Magician</td>
</tr></tbody></table>
I ran a few tests for second and following columns but not all combinations - see below
If there is 0 space before the word 'Magician' and 0 space after - it links
If there is 1 space before the word 'Magician' and 0 space after - it links
If there is 1 space before the word 'Magician' and 1 space after - NO links
If there is 0 space before the word 'Magician' and 1 space after - NO links
If i have the following code
<table border="0"><tbody><tr><td style="width: 100px">Magician </td>
<td style="width: 100px">Magician</td>
<td style="width: 100px">Magician </td>
<td style="width: 100px">Magician</td>
</tr></tbody></table>
First and Third occurence link
If i have the following code
<table border="0"><tbody><tr><td style="width: 100px">Magician</td>
<td style="width: 100px">Magician </td>
<td style="width: 100px">Magician</td>
<td style="width: 100px">Magician </td>
</tr></tbody></table>
First and Third occurence link
if i have this code
<table border="0"><tbody><tr><td style="width: 100px">Magician </td>
<td style="width: 100px">Magician </td>
<td style="width: 100px">Magician</td>
<td style="width: 100px">Magician </td>
</tr></tbody></table>
First Second and Fourth occurences link
So its something to do with the spaces but i know not what
BTW preview shows two rows not one, incase this is relevant