I'm not a hook expert, so not sure about this. But, the
shows that it acts on both $out and $text. Furthermore, the talk page says
that using the first could lead to an infinite loop, so I'd suggest using
$text for the '...tbd...
There's also an example in the talk page.