Use a non-breaking space between currency symbol and price
This commit is contained in:
parent
21439c7e52
commit
5f920ffdcf
|
@ -215,10 +215,10 @@ function woocommerce_price( $price, $args = array() ) {
|
|||
$return = '<span class="amount">'. $price . $currency_symbol . '</span>';
|
||||
break;
|
||||
case 'left_space' :
|
||||
$return = '<span class="amount">'. $currency_symbol . ' ' . $price . '</span>';
|
||||
$return = '<span class="amount">'. $currency_symbol . ' ' . $price . '</span>';
|
||||
break;
|
||||
case 'right_space' :
|
||||
$return = '<span class="amount">'. $price . ' ' . $currency_symbol . '</span>';
|
||||
$return = '<span class="amount">'. $price . ' ' . $currency_symbol . '</span>';
|
||||
break;
|
||||
endswitch;
|
||||
|
||||
|
|
Loading…
Reference in New Issue