Ticket #26 (closed enhancement: fixed)

Opened 4 months ago

Last modified 4 months ago

Lines with only spark markup should be left out of the output

Reported by: justin.m.chase@gmail.com Assigned to:
Priority: minor Component: AspNet Mvc ViewEngine
Keywords: Cc:

Description

Currently if you have a spark template and a particular line has only spark markup in it, it will be rendered as an empty line in the generated output. It would be nice if lines that only have spark markup (and white space) are simply not rendered at all.

Change History

08/09/08 05:11:30 changed by louis.dejardin

  • status changed from new to closed.
  • resolution set to fixed.
  • component set to AspNet Mvc ViewEngine.

Special elements and their closing elements, such as <if>, <for>, </if>, </for> will have preceding tabs and spaces and a single crlf pair removed.

So the sequence

<p>

<test if="x==5">

<span>hello</span>

</text>

</p>

will render as

<p>

<span>hello</span>

</p>

or

<p> </p>