Example #1
0
 private string ToHtml(string text)
 {
     if (text == null)
     {
         return(null);
     }
     // This should work even in edit mode, because highlighter.AddHighlighting() will just return
     // the original text in that case.
     return(_highlighter.HighlightContent(text));
 }
Example #2
0
 protected string HighlightKeywords(string text)
 {
     return(_resumeHighlighter.HighlightContent(text));
 }
Example #3
0
 protected string GetContentForDisplay()
 {
     return(highlighter.HighlightContent(Content));
 }
Example #4
0
 protected string GetJobDescriptionHtml()
 {
     return(_highlighter.HighlightContent(Job.Description));
 }