You are here

function _typogrify_number_narrownbsp in Typogrify 7

Wrapping numbers and adding whitespace '&narrownbsp;'.

Parameters

array $hit: matcher-array from preg_replace_callback.

1 string reference to '_typogrify_number_narrownbsp'
typogrify_smart_numbers in ./smartypants.php
Adding space in numbers for easier reading aka digit grouping.

File

./smartypants.php, line 662
SmartyPants - Smart punctuation for web sites

Code

function _typogrify_number_narrownbsp($hit) {
  return _typogrify_number_replacer($hit, ' ');
}