public override string ModifyLine(string line) { // Encode the contents of the "<pre>" tags so that we don't // generate formatting out of it. line = NoTextileEncoder.EncodeNoTextileZones(line, @"(?<=(^|\s)<pre(" + Globals.HtmlAttributesPattern + @")>)", @"(?=</pre>)"); return(line); }
public override string ModifyLine(string line) { line = NoTextileEncoder.EncodeNoTextileZones(line, @"(?<=^|\s)<notextile>", @"</notextile>(?=(\s|$)?)"); line = NoTextileEncoder.EncodeNoTextileZones(line, @"==", @"=="); return(line); }