function _typogrify_abbr_asis in Typogrify 7
Wrapping abbreviations without adding whitespace.
Parameters
array $hit: matcher-array from preg_replace_callback.
1 string reference to '_typogrify_abbr_asis'
- typogrify_smart_abbreviation in ./
smartypants.php - Wrapping abbreviations and adding half space between digit grouping.
File
- ./
smartypants.php, line 750 - SmartyPants - Smart punctuation for web sites
Code
function _typogrify_abbr_asis($hit) {
return '<span class="abbr">' . $hit[0] . '</span>';
}