WikiFunctions.Parse.Parsers.SimplifyReferenceTags C# (CSharp) Method

SimplifyReferenceTags() public static method

Replaces reference tags in the form <ref name="blah"></ref> with <ref name="blah" /> Removes some of the MW errors that occur from the prior
public static SimplifyReferenceTags ( string articleText ) : string
articleText string The wiki text of the article
return string
        public static string SimplifyReferenceTags(string articleText)
        {
            return EmptyReferences.Replace(articleText, @"$1 />");
        }
Parsers