You are here

public static function SmartyPants::modifierSmartypants in Typogrify 8

Wrapper method for SmartyPants.

Parameters

string $text: Text to be parsed.

string $attr: Value of the smart_quotes="" attribute.

Return value

string The modified text.

File

src/SmartyPants.php, line 66

Class

SmartyPants
SmartyPants - Smart punctuation for web sites.

Namespace

Drupal\typogrify

Code

public static function modifierSmartypants($text, $attr = NULL) {
  return self::process($text, $attr);
}