Skip to content

Commit

Permalink
fix madokami
Browse files Browse the repository at this point in the history
  • Loading branch information
riderkick committed Jun 10, 2015
1 parent f3d2c34 commit 835c773
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions baseunits/includes/Madokami/chapter_page_number.inc
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@
if (datapath_ <> '') and (datafiles_ <> '') then
begin
datafiles_ := Trim(TrimChar(datafiles_, ['[', ']']));
datafiles_ := StringReplace(datafiles_, '&quot;', '', [rfIgnoreCase, rfReplaceAll]);
datafiles_ := StringReplace(datafiles_, '&quot;', '"', [rfIgnoreCase, rfReplaceAll]);
datafiles_ := StringReplace(datafiles_, '\', '', [rfReplaceAll]);
with manager.container do
begin
PageLinks.Delimiter := ',';
PageLinks.DelimitedText := datafiles_;
if PageLinks.Count > 0 then
for i := 0 to PageLinks.Count-1 do
PageLinks[i] := WebsiteRoots[MADOKAMI_ID, 1] + '/reader/image?path=' +
datapath_ + '&file=' + PageLinks[i];
PageLinks[i] := EncodeURL(WebsiteRoots[MADOKAMI_ID, 1] + '/reader/image?path=' +
datapath_ + '&file=' + PageLinks[i]);
end;
end;
end;

0 comments on commit 835c773

Please sign in to comment.