You are here

function _typogrify_number_thinsp in Typogrify 7

Wrapping numbers and adding whitespace ' '.

Parameters

array $hit: matcher-array from preg_replace_callback.

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

File

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

Code

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