diff options
-rw-r--r-- | weblog-viewweblog-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weblog-viewweblog-html.lsp b/weblog-viewweblog-html.lsp index 5aaabea..758d3bc 100644 --- a/weblog-viewweblog-html.lsp +++ b/weblog-viewweblog-html.lsp @@ -17,8 +17,8 @@ function string_highlight(txtvalue, searchval, fcolour, bcolour) sStart = string.find(string.lower(txtvalue),string.lower(searchval)) if sStart ~= nil then sEnd = sStart + string.len(searchval) - txtvalue = string.insert(txtvalue,"</font>", sEnd) - txtvalue = string.insert(txtvalue,"<font style='color:"..fcolour.."; background-color:"..bcolour..";'>", sStart) + txtvalue = string_insert(txtvalue,"</font>", sEnd) + txtvalue = string_insert(txtvalue,"<font style='color:"..fcolour.."; background-color:"..bcolour..";'>", sStart) end end |