Plugin Directory

Changeset 3196347


Ignore:
Timestamp:
11/25/2024 10:43:23 AM (16 months ago)
Author:
reader87
Message:

Fixed: HTML charecter shows in the domain search form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dominion-domain-checker-wpbakery-addon/trunk/modules/domain_search/domain_search_6/doamin_search_shortcodes.php

    r2797795 r3196347  
    129129       
    130130        $domain = !empty($domain) ? explode("\n", trim($domain)) : array();
    131         $domain = !empty($domain) ? implode(" ", $domain) : '';
    132         $domain = !empty($domain) ? explode(" ", $domain) : array();
    133131       
    134132          foreach ( $domain as $label ) {
    135133           if( $label ) {
    136              $output1 .= '<option value="'.htmlspecialchars_decode($label).'">'.htmlspecialchars_decode($label).'</option>';
     134             $extvalue = str_replace(array('<br />'), '', $label);
     135             $output1 .= '<option value="'.$extvalue.'">'.htmlspecialchars_decode($label).'</option>';
    137136           }
    138137          }
Note: See TracChangeset for help on using the changeset viewer.