iTextSharp.tool.xml.html.HTMLUtils.SanitizeInline C# (CSharp) Method

SanitizeInline() public static method

public static SanitizeInline ( String str ) : String
str String
return String
        public static String SanitizeInline(String str)
        {
            return Sanitize(str, false);
        }

Usage Example

        /* (non-Javadoc)
         * @see com.itextpdf.tool.xml.ITagProcessor#content(com.itextpdf.tool.xml.Tag, java.lang.String)
         */
        public override IList <IElement> Content(IWorkerContext ctx, Tag tag, String content)
        {
            String           sanitized = HTMLUtils.SanitizeInline(content);
            IList <IElement> l         = new List <IElement>(1);

            if (sanitized.Length > 0)
            {
                l.Add(new ChunkCssApplier().Apply(new Chunk(sanitized), tag));
            }
            return(l);
        }
All Usage Examples Of iTextSharp.tool.xml.html.HTMLUtils::SanitizeInline