Line 71 of the module currently uses:
drupal_set_message(check_plain($logout_message));

This results in any html markup (eg, links) being rendered as plaintext.

This can be fixed by using filter_xss instead:
drupal_set_message(filter_xss($logout_message));

This is a useful ability for messages like:

You have logged out successfully. Log in again?

You have logged out successfully. <a href="/user">Log in again?</a>

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

.Deadcode created an issue. See original summary.

DedSec’s picture

Issue summary: View changes
Prashant.c’s picture

Status: Active » Needs review
FileSize
641 bytes

Patch needs to be reviewed.

Sumit kumar’s picture

I have tested the link is appearing and text is also translatable.

Thanks

  • Prashant.c committed 62b71c1 on 7.x-1.x
    Issue #2772439 by Prashant.c: check_plain strips html in message
    
Prashant.c’s picture

Status: Needs review » Fixed

@sumit
Thanks for testing.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.