Esempio n. 1
0
 protected function readPlainText($text)
 {
     $text = parent::readPlainText($text);
     if (isset($this->Definitions['Abbreviation'])) {
         foreach ($this->Definitions['Abbreviation'] as $abbreviation => $phrase) {
             $text = str_replace($abbreviation, '<abbr title="' . $phrase . '">' . $abbreviation . '</abbr>', $text);
         }
     }
     return $text;
 }