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 authored and sideshowbarker committed Aug 21, 2018
1 parent 988c631 commit 64628d1
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 @@ -1955,6 +1955,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 64628d1

Please sign in to comment.