Allow to give a custom text for the link

jonhattan - August 11, 2009 - 10:18
Project:Drupal.org project link filter
Version:6.x-2.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

It could be very nice to use this syntax in addition to current one:

api.module|"The API module"

so if the pipe character is present after the matching pattern, the following text is used as the text for the link, instead of the project name.

#1

z.stolar - August 11, 2009 - 13:32

Yes it would!

I'd happily apply a patch, if one is supplied.

#2

jonhattan - August 13, 2009 - 13:17
Status:active» needs review

so a patch is supplied :)

Note I'm not good at all with regexes. Anyway the tests I've made all have worked fine.

AttachmentSize
custom_title.patch 1.62 KB
 
 

Drupal is a registered trademark of Dries Buytaert.