diff --git a/source/appendixes/coretasks/AppendTask.xml b/source/appendixes/coretasks/AppendTask.xml index 50c8fd4e..3e5b847f 100644 --- a/source/appendixes/coretasks/AppendTask.xml +++ b/source/appendixes/coretasks/AppendTask.xml @@ -12,6 +12,12 @@ ${process.outputfile}. This is a real example from the build file used to generate this book! + + By default, whitespace is stripped from text that is appended to a file (matching the way the Concat task works in Ant). + This is because adding a nested text element may introduce additional (ignorable) whitespace. If you want to override this behavior, + set the skipsanitize attribute to true. + + Attributes @@ -135,6 +141,19 @@ n/a No + + + skipsanitize + + + Boolean + + + Specifies whether to skip sanitizing text (i.e., stripping spaces and newlines). + + n/a + No + file