Uncategorized

Code Plugin Example Problem

So here is the sample problem,…

//This is C# code block
// in C# we use Var of T which is express like  X<T>  
// But as we see this creates a html tag that gets confused... as the plugin tries to close the <T>
var X&lt;T>;  //generates an ending tag &lt;/T>
//
// Work around
var X< T >;   Or better yet use & lt ;
//
//
var myvar<string>;

Notice the ending miss placed tag….  <string>;&lt;/string>&lt;/t>&lt;/t>   That should not be in the code block….

It should be var myvar&lt;string&gt;;

{{var X}}

Leave a Reply