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:
Benoît Minisini 2023-10-31 02:37:10 +01:00
parent 051111520b
commit f6c54541f6

View file

@ -1101,7 +1101,7 @@ Private Sub ProcessCode(sClass As String, aLines As String[]) As String[]
If Not sLang Then Return
Component.Load("gb.eval")
Component.Load("gb.eval.highlight")
Component.Load("gb.highlight")
hTextHighlighter = TextHighlighter[sLang]
Return [hTextHighlighter.ToHTML(aLines.Join("\n"))]