public SubverseLinkFilter() { ProcessingStage = ProcessingStage.Outbound; Priority = 10; IsReadOnly = false; ProcessLogic = delegate(Match m, string matchSource, object state) { return(String.Format("[{0}]({1})", m.Value, VoatUrlFormatter.Subverse(m.Groups["sub"].Value + (m.Groups["anchor"].Success ? m.Groups["anchor"].Value : "")))); }; }
public SubverseLinkFilter() { ProcessingStage = ProcessingStage.Outbound; Priority = 10; IsReadOnly = false; ProcessLogic = delegate(Match m, string matchSource, object state) { return(String.Format("[{0}]({1})", m.Value, VoatUrlFormatter.Subverse(m.Groups["name"].Value + (m.Groups["fullPath"].Success ? m.Groups["fullPath"].Value : ""), new Common.PathOptions(true, true)))); }; }