Commit 65021dd8dd738dd16d8307e837d82e1923d0b096
- Diff rendering mode:
- inline
- side by side
index.php
(1 / 0)
|   | |||
| 172 | 172 | ||
| 173 | 173 | // WikiLinkify | |
| 174 | 174 | $text = preg_replace('@\[([A-Z]\w+)\]@', '<a href="' . $SCRIPT_URL . '/$1">$1</a>', $text); | |
| 175 | $text = preg_replace('@\[([A-Z]\w+)\|([\w\s]+)\]@', '<a href="' . $SCRIPT_URL . '/$1">$2</a>', $text); | ||
| 175 | 176 | ||
| 176 | 177 | // Textilify | |
| 177 | 178 | $textile = new Textile(); |

