Skip to content

safe_mailto - not working  #1102

Closed
Closed
@nowackipawel

Description

@nowackipawel

Calling:
<?php print safe_mailto('email@email.com','title'); ?>
produces:

<script type="text/javascript">//<![CDATA[var l=new Array();l[0] = '>';l[1] = 'a';l[2] = '/';l[3] = '<';l[4] = '|101';l[5] = '|108';l[6] = '|116';l[7] = '|105';l[8] = '|116';l[9] = '>';l[10] = '"';l[11] = '|109';l[12] = '|111';l[13] = '|99';l[14] = '|46';l[15] = '|108';l[16] = '|105';l[17] = '|97';l[18] = '|109';l[19] = '|101';l[20] = '|64';l[21] = '|108';l[22] = '|105';l[23] = '|97';l[24] = '|109';l[25] = '|101';l[26] = ':';l[27] = 'o';l[28] = 't';l[29] = 'l';l[30] = 'i';l[31] = 'a';l[32] = 'm';l[33] = '"';l[34] = '=';l[35] = 'f';l[36] = 'e';l[37] = 'r';l[38] = 'h';l[39] = ' ';l[40] = 'a';l[41] = '<';for (var i = l.length-1; i >= 0; i=i-1) {if (l[i].substring(0, 1) === '|') document.write("&#"+unescape(l[i].substring(1))+";");else document.write(unescape(l[i]));}//]]></script>

I guess it should not be encapsulated in . Am I right?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions