   {
        return array(
            Events::PRE_PARSE  =&gt; 'onItemPreParse',
            Events::POST_PARSE =&gt; 'onItemPostParse',
        );
    }
&nbsp;
    public function onItemPreParse(ParseEvent $event)
    {
        $txt = str_replace(
            'easybook',
            '**easybook**',
            $event-&gt;getOriginal()
        );
&nbsp;
        $event-&gt;setOriginal($txt);
    }
&nbsp;
    public function onItemPostParse(ParseEvent $event)
    {
        $html = str_replace(
            '&