oc-includes/osclass/helpers/hItems.php
if(stripos($value,'http://')!==false || stripos($value,'https://')!==false) {
return '<a href="'.osc_esc_html(html_entity_decode($value, ENT_COMPAT, "UTF-8")).'" >'.osc_esc_html(html_entity_decode($value, ENT_COMPAT, "UTF-8")).'</a>';
} else {
return '<a href="http://'.osc_esc_html(html_entity_decode($value, ENT_COMPAT, "UTF-8")).'" >'.osc_esc_html(html_entity_decode($value, ENT_COMPAT, "UTF-8")).'</a>';
}
You should probably add target="_top" to both link variants.
if(stripos($value,'http://')!==false || stripos($value,'https://')!==false) {
return '<a target="_top" href="'.osc_esc_html(html_entity_decode($value, ENT_COMPAT, "UTF-8")).'" >'.osc_esc_html(html_entity_decode($value, ENT_COMPAT, "UTF-8")).'</a>';
} else {
return '<a target="_top" href="http://'.osc_esc_html(html_entity_decode($value, ENT_COMPAT, "UTF-8")).'" >'.osc_esc_html(html_entity_decode($value, ENT_COMPAT, "UTF-8")).'</a>';
}