Fixed and closed #479: single letters are not highlighted.

Updated jQuery to version 1.4.1.
This commit is contained in:
Dario Solera 2010-02-02 08:56:17 +00:00
parent a5852d907a
commit ee5b18d0ad
5 changed files with 156 additions and 155 deletions

View file

@ -539,7 +539,7 @@ namespace ScrewTurn.Wiki {
List<string> added = new List<string>(5);
for(int i = 0; i < matches.Count; i++) {
if(!added.Contains(matches[i].Text)) {
if(matches[i].Text.Length > 1 && !added.Contains(matches[i].Text)) {
buffer.Append(Tools.UrlEncode(matches[i].Text));
if(i != matches.Count - 1) buffer.Append(",");
added.Add(matches[i].Text);