Builder code and plugins cause javascrip errors
-
If you have a builder that generates code for you and activate the plugin to filter plain emails, then the code that is generated has errors.
For example, with the Themify builder, the excert of code at the bottom of the page is generated. You an see that the emails have been replaced, but the mailto anchor is not aware that it is already inside a string. The double quote for the href in the anchor is not escaped.
It would be great if the plugin could be contextually aware and escape itself appropriately.
Thanks
————-
var themify_builder_data_80 = [{“element_id”:”9f7b57c”,”cols”:[{“element_id”:”05aa1b4″,”grid_class”:”col4-2″,”modules”:[{“mod_name”:”text”,”element_id”:”44f9b6f”,”mod_settings”:{“background_image-type”:”image”,”background_repeat”:”repeat”,”background_position”:”left-top”,”font_color_type”:”font_color_solid”,”checkbox_padding_apply_all”:”1″,”checkbox_margin_apply_all”:”1″,”border-type”:”top”,”font_color_type_h1″:”font_color_h1_solid”,”font_color_type_h2″:”font_color_h2_solid”,”font_color_type_h3″:”font_color_h3_solid”,”font_color_type_h4″:”font_color_h4_solid”,”font_color_type_h5″:”font_color_h5_solid”,”font_color_type_h6″:”font_color_h6_solid”,”checkbox_dropcap_padding_apply_all”:”1″,”checkbox_dropcap_margin_apply_all”:”1″,”dropcap_border-type”:”top”,”content_text”:”<h3>Officers<\/h3><p>President<\/strong><br \/>Angela Ingraham<br \/><span class=”wpmt wpml-rtl”><span class=”wpml-sd”>gro.s</span><span class=”wpml-nodis”>1568775374</span><span class=”wpml-sd”>gohae</span><span class=”wpml-nodis”>1568775374</span><span class=”wpml-sd”>niug@</span><span class=”wpml-nodis”>1568775374</span><span class=”wpml-sd”>tnedi</span><span class=”wpml-nodis”>1568775374</span><span class=”wpml-sd”>serp</span><span class=”wpml-nodis”>1568775374</span></span>\”><span class=”wpmt
- The topic ‘Builder code and plugins cause javascrip errors’ is closed to new replies.