I tried this for Drupal 6, but without success. Anyone know how to set html to true in D6?
I'm using the function l() in a contemplate template. I did find this http://drupal.org/node/126039#comment-258989
but it is not working for me.

My knowledge of php is limited...

I appreciate any tips!

Comments

Heine’s picture

See http://api.drupal.org/api/function/l/6

l($text, $path, array('html' => TRUE, ));

Note that $text needs to be safe for output.

--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.

rvk’s picture

thanks, I guess it's mostly my limited knowledge of PHP that prevented me from properly applying the information from the documentation.

Thank you!

robhoward79’s picture

Can confirm this works in Drupal 7 too!