Broken html in external links

Aaron Hawkins - January 7, 2009 - 17:49
Project:Alinks
Version:6.x-1.0-rc1
Component:Documentation
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Seriously broken html in the links if you link to an external web page. Take a look at the source code that a simple page with outbound links is creating. By the way I checked the $words array at line 164 and everything looks correct, so this is an error that is occurring in processing.

<p>
This is a <a href="/all-things-drupal/node/77" class="alinks-link" title="Test alinks">test</a> page with the word
<a href="/all-things-<a href="/all-things-drupal/http%3A//www.Drupal.org" class="alinks-link" title="Drupal">drupal</a>/http%3A//www.PixelClever.com/what-are-modules-in-drupal" class="alinks-link" title="What are drupal modules?">module</a> in it. It also has the term <a href="/all-things-drupal/http%3A//www.Drupal.org" class="alinks-link" title="Drupal">Drupal</a> in it. drupal again.</p>

#1

Aaron Hawkins - January 7, 2009 - 18:09
Title:Broken html in links» Broken html in external links
Priority:normal» critical

#2

Aaron Hawkins - January 7, 2009 - 18:21
Component:Code» Documentation
Status:active» closed

Setting the link as external fixes it, but the way the module describes it it makes it seem as if the external option is for opening in a separate tab or window which isn't the case.

 
 

Drupal is a registered trademark of Dries Buytaert.