Browse Source

Bugzilla 36632 - document end of line handling for <echo/>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280933 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 20 years ago
parent
commit
8741c485a8
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      docs/manual/CoreTasks/echo.html

+ 5
- 2
docs/manual/CoreTasks/echo.html View File

@@ -72,8 +72,11 @@ This is a longer message stretching over
three lines; the first line is a blank
&lt;/echo&gt;
</pre>
As XML parsers are wont to do, the first newline in the text element
has been included in the text.
The newline immediately following the &lt;echo&gt; tag will be part of the output.<br>
Newlines in character data within the content of an element are not discarded by XML parsers.<br>
See <a href="http://www.w3.org/TR/2004/REC-xml-20040204/#sec-line-ends">
W3C Recommendation 04 February 2004 / End of Line handling
</a> for more details.

<pre>&lt;echo message=&quot;Deleting drive C:&quot; level=&quot;debug&quot;/&gt;</pre>
A message which only appears in <tt>-debug</tt> mode.


Loading…
Cancel
Save