Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public override string ModifyLine(string line)
 {
     line = NoTextileEncoder.EncodeNoTextileZones(line, @"(?<=^|\s)<notextile>", @"</notextile>(?=(\s|$)?)");
     line = NoTextileEncoder.EncodeNoTextileZones(line, @"==", @"==");
     return(line);
 }