JS Method breakts html tag
-
Using the plugin with the following settings
– automatically the best method (including javascript)
– plain emails by converting them to mailto links
is breaking the containing html tag, in my case <p> which causes unexpected results. The final HTML looks like this, with the part after the email cut out of the <p> tag.<p>Anfra-gen zum Daten-schutz und zur Ver-wen-dung Ihrer per-so-n-en-be-zo-ge-nen Dat-en k?nnen aber an <a href="javascript:;" data-enc-email="fnqnff[at]nfqf.fqr" class="mail-link" data-wpel-link="ignore"><span id="eeb-758076-766337">[email protected]</span><script type="text/javascript">(function(){var ml="4sea.0d%",mi="13631170531614162",o="";for(var j=0,l=mi.length;j<l;j++){o+=ml.charAt(mi.charCodeAt(j)-48);}document.getElementById("eeb-758076-766337").innerHTML = decodeURIComponent(o);}());</script></a></p> <noscript>*pro-tect-ed email*</noscript> fol-gende E?Mail-Adresse gesendet wer-den und wer-den von uns nach den geset-zlichen Vor-gaben behan-delt:
This causes my text to look like this: https://paste.pics/087040ef3938929d3d8e98df2e37db5d
Is there a quick fix for this? When using the method without JS, everything is working as expected.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘JS Method breakts html tag’ is closed to new replies.