Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy Spark viewengine renders unnecessary (or unexpected) quotes?
    text
    copied!<p>If i add <code>pageBaseType="Spark.Web.Mvc.SparkView"</code> in my web.config (necessary to fix intellisense), somehow it does not render links (probably not only) correctly anymore.</p> <p>This is how it's supposed to look like (and does, if page base type is not specified)=></p> <p><a href="http://i49.tinypic.com/2woyakn.jpg" rel="nofollow noreferrer">alt text http://i49.tinypic.com/2woyakn.jpg</a></p> <p>This is how it looks when base type is specified=></p> <p><a href="http://i49.tinypic.com/2n6rx9f.jpg" rel="nofollow noreferrer">alt text http://i49.tinypic.com/2n6rx9f.jpg</a></p> <p>Chrome source viewer shows identical page source code for both cases=></p> <pre><code>&lt;body&gt; &lt;div class="content"&gt; &lt;div class="navigation"&gt; &lt;a href="/Employee/List"&gt;Employees&lt;/a&gt; &lt;a href="/Product/List"&gt;Products&lt;/a&gt; &lt;a href="/Store/List"&gt;Stores&lt;/a&gt; &lt;div class="navigation_title"&gt; Navigation&lt;/div&gt; &lt;/div&gt; &lt;div class="main"&gt; &lt;div class="content"&gt; &lt;h2&gt;Employees&lt;/h2&gt;Nothing found... &amp;lt;a href=&amp;quot;/Employee/Create&amp;quot;&amp;gt;Create&amp;lt;/a&amp;gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; </code></pre> <p>Developer tools does not=></p> <p><a href="http://i50.tinypic.com/iz7vpg.jpg" rel="nofollow noreferrer">alt text http://i50.tinypic.com/iz7vpg.jpg</a></p> <p>So - why my link gets htmlencoded (if that's what happens)? If it's default behavior, then how to render raw html?</p> <hr> <p>Using latest Spark version, rebuilt with Asp.Net Mvc2 RC assemblies.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload