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)
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

midkemia - April 29, 2007 - 18:21

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

tic2000 - July 9, 2007 - 12:54

Does this problem persist in the latest version of alinks?

#3

midkemia - July 9, 2007 - 13:50
Version:5.x-1.2» 5.x-1.4-1

Still existing in 1.4-1 will give 1.4-3 a try later today

see http://www.crydee.com/?q=node/1722

#4

midkemia - July 10, 2007 - 08:34
Version:5.x-1.4-1» 5.x-1.4-3

Verified bug still exists with 5.x 1.4-3

#5

tic2000 - July 10, 2007 - 11:57
Status:active» postponed (maintainer needs more info)

I need more info. You have set alinks to change only the first occurrence of the word?

#6

midkemia - July 10, 2007 - 13:22

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

 
 

Drupal is a registered trademark of Dries Buytaert.