New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent double amp encoding #16089

Merged
merged 1 commit into from May 17, 2017
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

@@ -49,4 +49,4 @@
$attributes['onclick'] = "window.open(this.href, 'targetWindow', '" . $options . "'); return false;";
}
echo JHtml::_('link', JFilterOutput::ampReplace(htmlspecialchars($item->flink)), $linktype, $attributes);
echo JHtml::_('link', JFilterOutput::ampReplace($item->flink), $linktype, $attributes);
@@ -50,4 +50,4 @@
$attributes['onclick'] = "window.open(this.href, 'targetWindow', '" . $options . "'); return false;";
}
echo JHtml::_('link', JFilterOutput::ampReplace(htmlspecialchars($item->flink, ENT_COMPAT, 'UTF-8')), $linktype, $attributes);
echo JHtml::_('link', JFilterOutput::ampReplace($item->flink), $linktype, $attributes);
ProTip! Use n and p to navigate between commits in a pull request.