SenseNet.Portal.HtmlSanitizer.htmlEncodeTag C# (CSharp) Метод

htmlEncodeTag() публичный статический Метод

public static htmlEncodeTag ( String source ) : String
source String
Результат String
        public static String htmlEncodeTag(String source)
        {
            if (source != null)
            {
                String result = replaceAllNoRegex(source, new String[] { "<", ">" }, new String[] { "&lt;", "&gt;" });
                return result;
            }
            else
                return null;
        }