/* We don't include Horde.popup() in IFRAME, so need
* to use 'simple' links. */
$node->setAttribute('href', IMP::composeLink($node->getAttribute('href'), array(), true));
+ } elseif ($this->_imptmp['inline'] &&
+ isset($url['fragment']) &&
+ empty($url['path']) &&
+ $GLOBALS['browser']->isBrowser('mozilla')) {
+ /* See Bug #8695: internal anchors are broken in
+ * Mozilla. */
+ $node->removeAttribute('href');
} elseif (!$node->hasAttribute('target')) {
$node->setAttribute('target', $this->_imptmp['target']);
}