• Resolved ademomer

    (@ademomer)


    Hi,
    I am using Homely theme by Rype Crative, and since most of their e-mails are plain and exposed I use your plugin to protect it.

    For most of the time plugin works perfectly (main page, widgets and contact us), but there is an issue while encoding e-mails in the Agents page. It breaks-up the code and makes a mess out of it.

    I will copy here HTML code without plugin being used and HTML code once plugin activated.

    Original HTML code, and plain e-mail:
    <p><i class="fa icon-envelope icon icon-line " style="font-size: 16px;"></i>[email protected]</p>

    HTML code once plugin activated:

    <p javascript:;"="" data-enc-email="nqrz[at]nuynaobfan.pbz" class="mail-link" data-wpel-link="ignore">
    <span class="wpml-rtl">
    		mail part 1
    	<span class="wpml-nodis">1516632201</span>
    		mail part 2
    	<span class="wpml-nodis">1516632201</span>
    		mail part 3
    	<span class="wpml-nodis">1516632201</span>
    		mail part 4
    <span class="wpml-nodis">1516632201</span></span>">
    <i class="fa icon-envelope icon icon-line " style="font-size: 16px;"></i>
    	<a href="javascript:;" data-enc-email="nqrz[at]nuynaobfan.pbz" class="mail-link" data-wpel-link="ignore">
    		<span class="wpml-rtl">
    			mail part 1
    		<span class="wpml-nodis">1516632201</span>
    			mail part 2
    		<span class="wpml-nodis">1516632201</span>
    			mail part 3
    		<span class="wpml-nodis">1516632201</span>
    			mail part 4
    		<span class="wpml-nodis">1516632201</span>
    	</span>
    </a></p>

    To me it seems like it made double encoding of the e-mail.

    • This topic was modified 6 years, 10 months ago by ademomer.
    • This topic was modified 6 years, 10 months ago by ademomer.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ademomer

    (@ademomer)

    Hi,
    any suggestions?

    Thread Starter ademomer

    (@ademomer)

    Ok I have resolved the issue.

    My <p> was looking like this:

    <p title="<?php echo some_function('mail'); ?>"><?php echo some_function('mail'); ?></p>

    I just removed “title=”” part from <p>.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Homely theme, issues encoding plain e-mail’ is closed to new replies.