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 |
Jump to:
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
#2
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.