<?php
namespace Vivo\View\Helper;

use Vivo\UI\Component;

use Zend\View\Helper\AbstractHelper;

/**
 * View helper for gettting action url
 */
class ActionLink extends AbstractHelper
{
    public function __invoke($action, $body, $params = array(), $reuseMatchedParams = false)
    {
        $model = $this->view->plugin('view_model')->getCurrent();
        $component = $model->getVariable('component');

        $act = $component['path'] . Component::COMPONENT_SEPARATOR . $action;
        $urlHelper = $this->getView()->plugin('url');
        $url = $urlHelper(null,
                array('act' => $act, 'args' => $params), $reuseMatchedParams);
        $link = "<a href='$url'>$body</a>";
        return $link;
    }
}

<?php
namespace Vivo\View\Helper;

use Vivo\UI\Component;

use Zend\View\Helper\AbstractHelper;

/**
 * View helper for gettting action url
 */
class ActionLink extends AbstractHelper
{
    public function __invoke($action, $body, $params = array(), $reuseMatchedParams = false)
    {
        $model = $this->view->plugin('view_model')->getCurrent();
        $component = $model->getVariable('component');

        $act = $component['path'] . Component::COMPONENT_SEPARATOR . $action;
        $urlHelper = $this->getView()->plugin('url');
        $url = $urlHelper(null, array('act' => $act, 'args' => $params), $reuseMatchedParams);
        $link = "<a href=\"$url\">$body</a>";

        return $link;
    }
}

Replace ' in href attribute
Replace ' in href attribute
