Rev 13 | Rev 16 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 13 | Rev 15 | ||
|---|---|---|---|
| Line 222... | Line 222... | ||
| 222 | 222 | ||
| 223 | $ret = "<sup><a href='#footnote-{$s}'" |
223 | $ret = "<sup><a href='#footnote-{$s}'" |
| 224 | . ($this->references === 0 |
224 | . ($this->references === 0 |
| 225 | ? " name='fn-{$s}-ref' id='fn-{$s}-ref'"
|
225 | ? " name='fn-{$s}-ref' id='fn-{$s}-ref'"
|
| 226 | : '') |
226 | : '') |
| 227 | . " class='footnote'" |
227 | . ' class="footnote"' |
| 228 | . ($this->tooltip |
228 | . ($this->tooltip |
| 229 | ? ' title="'
|
229 | ? ' title="'
|
| 230 | . preg_replace('/"/', '"', |
230 | . preg_replace('/"/', '"', |
| 231 | trim(reduceWhitespace(strip_tags($this->tooltip)))) |
231 | trim(reduceWhitespace(strip_tags($this->tooltip)))) |
| 232 | . '"' |
232 | . '"' |
| 233 | : '') |
233 | : '') |
| 234 | . "'>{$this->prefix}{$this->sign}{$this->suffix}" |
234 | . ">{$this->prefix}{$this->sign}{$this->suffix}" |
| 235 | . '</a></sup>'; |
235 | . '</a></sup>'; |
| 236 | 236 | ||
| 237 | ++$this->references; |
237 | ++$this->references; |
| 238 | 238 | ||
| 239 | return $ret; |
239 | return $ret; |