Use 'gb.highlight' instead of the deprecated 'gb.eval.highlight'.
[GB.MARKDOWN] * BUG: Use 'gb.highlight' instead of the deprecated 'gb.eval.highlight'.
This commit is contained in:
parent
051111520b
commit
f6c54541f6
1 changed files with 1 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ Private Sub ProcessCode(sClass As String, aLines As String[]) As String[]
|
||||||
If Not sLang Then Return
|
If Not sLang Then Return
|
||||||
|
|
||||||
Component.Load("gb.eval")
|
Component.Load("gb.eval")
|
||||||
Component.Load("gb.eval.highlight")
|
Component.Load("gb.highlight")
|
||||||
|
|
||||||
hTextHighlighter = TextHighlighter[sLang]
|
hTextHighlighter = TextHighlighter[sLang]
|
||||||
Return [hTextHighlighter.ToHTML(aLines.Join("\n"))]
|
Return [hTextHighlighter.ToHTML(aLines.Join("\n"))]
|
||||||
|
|
Loading…
Reference in a new issue