Skip to content

Commit

Permalink
Also get that spot, right
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Aug 21, 2018
1 parent ef401e4 commit 73c66b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wattsi.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 73c66b1

Please sign in to comment.