Branch: Tag:

2016-11-04

2016-11-04 18:35:04 by Pontus Östlund <ponost@roxen.com>

Some better detection of Pike code in @example/@code docblocks.
Minor CSS addition.
Removed some unused stuff.

557:    while (text[-1] == '\n')    text = text[..<1];    -  if (search(text, "{") > -1) { +  if (search(text, "->") > -1 || +  (search(text, "{") > -1 && search(text, "}") > -1) || +  (search(text, "(") > -1 && search(text, "\"") > -1) || +  (search(text, ".") > -1 && search(text, "=") > -1)) +  {    if (!code_highlighter) {    code_highlighter = Tools.Standalone.pike_to_html();    }