#19066 Empty widget layer description causes null reference exception

Work Item: 19066

--HG--
branch : 1.x
This commit is contained in:
antoine@DEVNET63-PC.wygwam.com
2012-10-02 11:01:56 +02:00
parent ba4317f221
commit f7d444dd15

View File

@@ -6,8 +6,12 @@
}
@functions {
static string EncodeLineBreaks(string text) {
if (!String.IsNullOrEmpty(text)){
return text.Replace(Environment.NewLine, "\\\\n");
}
return text;
}
}
<script type="text/javascript">
//<![CDATA[