Drupal no www. compound
how can i turn off automatic conversion of WWW.SOMETHING to link in Drupal?
I just want to display the url without creating one like this.
This must be done on the page, as some pages are supposed to act as links.
is there a special TAG or something to say DRUPAL so as not to convert it to composable text?
+2
source to share
3 answers
Input format is probably the best solution, but the quick and dirty trick I used on the rare occasion I needed to break auto-linking was to break the non-url with formatting tags.
For example, if Drupal converted www.foobar
to link, I would encode the text like this:
<i>www</i>.foobar
Not really, but I'm doing the job if you're okay.
0
source to share