Example #1
0
        public SetLinkFilter()
        {
            ProcessingStage = ProcessingStage.Outbound;
            Priority        = 10;
            IsReadOnly      = false;

            ProcessLogic = delegate(Match m, string matchSource, object state)
            {
                return(String.Format("[{0}]({1})", m.Value, VoatUrlFormatter.Set(m.Groups["name"].Value + (m.Groups["fullPath"].Success ? m.Groups["fullPath"].Value : ""), new Common.PathOptions(true, true))));
            };
        }