Exemplo n.º 1
0
 public override string Conclude(string line)
 {
     // Recode everything except "<" and ">";
     line = NoTextileEncoder.DecodeNoTextileZones(line,
                                                  @"(?<=(^|\s)<code(" + TextileGlobals.HtmlAttributesPattern + @")>)",
                                                  @"(?=</code>)",
                                                  new string[] { "<", ">" });
     return(line);
 }
 internal static string InnerConclude(string line)
 {
     // Recode everything.
     line = NoTextileEncoder.DecodeNoTextileZones(line,
                                                  @"(?<=(^|\s)<pre(" + Globals.HtmlAttributesPattern + @")>)",
                                                  @"(?=</pre>)",
                                                  new string[] { "<", ">" });
     return(line);
 }
 public override string Conclude(string line)
 {
     line = NoTextileEncoder.DecodeNoTextileZones(line, @"(?<=^|\s)<notextile>", @"</notextile>(?=(\s|$)?)");
     line = NoTextileEncoder.DecodeNoTextileZones(line, @"==", @"==");
     return(line);
 }