We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5ad06e80 authored by Brion Vibber's avatar Brion Vibber

Tweak regex in Awesomeness plugin

parent 263bd5b3
......@@ -105,7 +105,7 @@ EOT
function onStartSaveNewNoticeWeb($action, $user, &$content, &$options)
$content = htmlspecialchars($content);
$options['rendered'] = preg_replace("/(^|\s|-)(awesome|awesomeness[\?!\.\,]?)(\s|$)/i", " <b>$2</b> ", $content);
$options['rendered'] = preg_replace("/(^|\s|-)((?:awesome|awesomeness)[\?!\.\,]?)(\s|$)/i", " <b>$2</b> ", $content);
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment