Merge pull request #603 from GeertDD/price_nbsp
Use a non-breaking space between currency symbol and price
This commit is contained in:
commit
94c08c9c50
|
@ -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