Show / Hide Table of Contents

Class HtmlNormalizer

Inheritance
object
HtmlNormalizer
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Docs.HtmlConverting
Assembly: Volo.Docs.Web.dll
Syntax
public static class HtmlNormalizer

Methods

FindImgTagsWithinAnchor(string)

Declaration
public static MatchCollection FindImgTagsWithinAnchor(string html)
Parameters
Type Name Description
string html
Returns
Type Description
MatchCollection

ReplaceCodeBlocksLanguage(string, string, string)

Declaration
public static string ReplaceCodeBlocksLanguage(string content, string currentLanguage, string newLanguage)
Parameters
Type Name Description
string content
string currentLanguage
string newLanguage
Returns
Type Description
string

ReplaceImageSources(string, string, string)

Declaration
public static string ReplaceImageSources(string content, string documentRawRootUrl, string localDirectory)
Parameters
Type Name Description
string content
string documentRawRootUrl
string localDirectory
Returns
Type Description
string

WrapImagesWithinAnchors(string)

Declaration
public static string WrapImagesWithinAnchors(string html)
Parameters
Type Name Description
string html
Returns
Type Description
string
In this article
Back to top Powered by ABP.IO Platform