From 73c66b1ab6fe844a899cc50c7ffe3acb0eeb0ed4 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Tue, 21 Aug 2018 15:44:35 -0400 Subject: [PATCH] Also get that spot, right --- src/wattsi.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wattsi.pas b/src/wattsi.pas index 2168b1f..0943522 100644 --- a/src/wattsi.pas +++ b/src/wattsi.pas @@ -1985,6 +1985,9 @@ procedure Save(const Document: TDocument; const FileName: AnsiString; const InSp if (AnsiContainsStr(ClassValue, 'js')) then HighlighterOutput := TFPCustomHTTPClient.SimpleGet(HighlightServerURL + '/js?' + URLEncodedJSONContents) else + if (AnsiContainsStr(ClassValue, 'abnf')) then + HighlighterOutput := TFPCustomHTTPClient.SimpleGet(HighlightServerURL + '/abnf?' + URLEncodedJSONContents) + else if (AnsiContainsStr(ClassValue, 'html')) then HighlighterOutput := TFPCustomHTTPClient.SimpleGet(HighlightServerURL + '/html?' + URLEncodedJSONContents); HighlighterOutputByJSONContents[CurrentHighlightedElementJSON] := HighlighterOutput;