launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #18273
[Merge] lp:~cjwatson/launchpad/wadl-whitespace into lp:launchpad
Colin Watson has proposed merging lp:~cjwatson/launchpad/wadl-whitespace into lp:launchpad.
Commit message:
Remove unnecessary user-visible whitespace from documentation of custom methods returning collections.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/wadl-whitespace/+merge/255999
Remove unnecessary user-visible whitespace from documentation of custom methods returning collections.
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/wadl-whitespace into lp:launchpad.
=== modified file 'lib/lp/services/webservice/wadl-to-refhtml.xsl'
--- lib/lp/services/webservice/wadl-to-refhtml.xsl 2015-03-17 07:18:59 +0000
+++ lib/lp/services/webservice/wadl-to-refhtml.xsl 2015-04-13 16:03:58 +0000
@@ -1011,7 +1011,7 @@
</xsl:template>
<!-- Documentation for the response of custom methods returning
- and entry or a collection.
+ an entry or a collection.
-->
<xsl:template match="wadl:response/wadl:representation[@href]">
<xsl:variable name="id" select="substring-after(@href, '#')" />
@@ -1024,9 +1024,7 @@
representation of a
<a href="#{$resource_type}"><xsl:value-of
select="$resource_type"
- /></a><xsl:if test="contains($id, '-page')">
- collection
- </xsl:if>.
+ /></a><xsl:if test="contains($id, '-page')">collection</xsl:if>.
</p>
</xsl:template>
Follow ups