#163 Related Links ignores IMG tags

open-works-for-me
nobody
story (2)
5
2004-10-23
2002-08-05
Anonymous
No

If you add an Image with a link (href) to an article, the image will
appear in the related links block. (It doesn't strip the image.) In
article page - related links block

Discussion

  • Joe Stewart
    Joe Stewart
    2002-08-05

    Logged In: YES
    user_id=77269

    Do you have an example linked images that is not stripped?
    Images are stripped from story related links on many sites.

    Here is one example:

    http://www.phpslash.org/article.php3?story_id=46&topic_id=45

    We may need to tweak the regex for IMG instead of img, etc.

     
  • Joe Stewart
    Joe Stewart
    2002-08-05

    • status: open --> open-works-for-me
     
  • Logged In: YES
    user_id=279604

    It happened to me too , using l.c. img tags. It may be that
    the problem happens when there are no spaces between the
    tags in the <a href ... ><img ...></a>

    I removed link generation since it wasnt essential for the
    site , so didnt really investigate

    Also the example Joe gives doent have a link derived from
    the image in the related links block :-)

     
  • Joe Stewart
    Joe Stewart
    2004-10-23

    • labels: --> story