Fixed and closed #479: single letters are not highlighted.
Updated jQuery to version 1.4.1.
This commit is contained in:
parent
a5852d907a
commit
ee5b18d0ad
5 changed files with 156 additions and 155 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue