Den tis 16 feb. 2021 kl 21:31 skrev Daniel Shahaf <d...@daniel.shahaf.name>:
>
> The newline between the «]» and the «[» would get copied to the output
> if the condition is true.  Is that intentional?

No, didn't pay attention to how ezt added newlines. Better like this?
No extra newlines except that the comments are on separate lines to
make them easy to remove.

[[[
Index: templates/rc-news.ezt
===================================================================
--- templates/rc-news.ezt       (revision 1886582)
+++ templates/rc-news.ezt       (working copy)
@@ -7,9 +7,13 @@
 <p>We are pleased to announce the release of Apache Subversion [version].  This
    release is not intended for production use, but is provided as a milestone
    to encourage wider testing and feedback from intrepid users and maintainers.
-   Please see the
+   Please see the[if-any announcement_url][else]
+<!-- Initially the release announcement link is commented out
+until the release announcement has landed in the archives.
+Add the URL below and remove this comment start section...|[end]
    <a href="[announcement_url]">release
-   announcement</a> for more information about this release, and the
+   announcement</a> for more information about this release, and
the[if-any announcement_url][else]
+|... and this end comment--->[end]
    <a href="/docs/release-notes/[major-minor].html">release notes</a> and
    <a 
href="https://svn.apache.org/repos/asf/subversion/tags/[version]/CHANGES";>
    change log</a> for information about what will eventually be
Index: templates/stable-news.ezt
===================================================================
--- templates/stable-news.ezt   (revision 1886582)
+++ templates/stable-news.ezt   (working copy)
@@ -9,9 +9,13 @@
    users of Subversion to upgrade as soon as reasonable.
 [else]   This is the most complete release of the [major-minor].x line to date,
    and we encourage all users to upgrade as soon as reasonable.
-[end]   Please see the
+[end]   Please see the[if-any announcement_url][else]
+<!-- Initially the release announcement link is commented out
+until the release announcement has landed in the archives.
+Add the URL below and remove this comment start section...|[end]
    <a href="[announcement_url]"
-   >release announcement</a> and the
+   >release announcement</a> and the[if-any announcement_url][else]
+|... and this end comment -->[end]
    <a href="/docs/release-notes/[major-minor]"
    >release notes</a> for more information about this release.</p>
]]]

Kind regards,
Daniel Sahlberg

Reply via email to