From ae433184f57c1ca230a7f207dcb4197fa73b1500 Mon Sep 17 00:00:00 2001 From: Angie Byron <webchick@24967.no-reply.drupal.org> Date: Fri, 28 Jan 2011 07:47:28 +0000 Subject: [PATCH] #1027454 by amateescu, montesq, jhodgdon: Fixed _aggregator_parse_opml() documentation contains escaped HTML tags that should be removed. --- modules/aggregator/aggregator.admin.inc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/aggregator/aggregator.admin.inc b/modules/aggregator/aggregator.admin.inc index a2d9649171e9..3dc6053ffd16 100644 --- a/modules/aggregator/aggregator.admin.inc +++ b/modules/aggregator/aggregator.admin.inc @@ -350,16 +350,17 @@ function aggregator_form_opml_submit($form, &$form_state) { /** * Parse an OPML file. * - * Feeds are recognized as <outline> elements with the attributes - * <em>text</em> and <em>xmlurl</em> set. + * Feeds are recognized as <outline> elements with the attributes "text" and + * "xmlurl" set. * * @param $opml * The complete contents of an OPML document. + * * @return - * An array of feeds, each an associative array with a <em>title</em> and - * a <em>url</em> element, or NULL if the OPML document failed to be parsed. - * An empty array will be returned if the document is valid but contains - * no feeds, as some OPML documents do. + * An array of feeds, each an associative array with a "title" and a "url" + * element, or NULL if the OPML document failed to be parsed. An empty + * array will be returned if the document is valid but contains no feeds, as + * some OPML documents do. */ function _aggregator_parse_opml($opml) { $feeds = array(); -- GitLab