Skip to content

Commit

Permalink
Print UTF-8 string using GNAT.IO in Report_Jekyll
Browse files Browse the repository at this point in the history
Fixes #1456
  • Loading branch information
mgrojo committed Sep 17, 2023
1 parent 8243841 commit a08247c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/alr/alr-commands-show.adb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ with Alire.Solver;
with Alire.Utils.Tables;
with Alire.Utils.TTY;

with GNAT.IO;

with Semantic_Versioning.Extended;

package body Alr.Commands.Show is
Expand Down Expand Up @@ -232,14 +234,14 @@ package body Alr.Commands.Show is
then Cmd.Root.Release
else Cmd.Find_Target_Release (Name, Versions, Current));
begin
Put_Line ("---");
Put_Line ("layout: crate");
GNAT.IO.Put_Line ("---");
GNAT.IO.Put_Line ("layout: crate");
-- TODO: conditional expressions can't be exported yet, we report in
-- the interim the ones that apply to the current system.
Put_Line (Rel.Whenever (Platform.Properties).To_YAML);
Put_Line ("---");
Put_Line (Rel.Long_Description);
Put_Line (Rel.Notes);
GNAT.IO.Put_Line (Rel.Whenever (Platform.Properties).To_YAML);
GNAT.IO.Put_Line ("---");
GNAT.IO.Put_Line (Rel.Long_Description);
GNAT.IO.Put_Line (Rel.Notes);
end;
exception
when Alire.Query_Unsuccessful =>
Expand Down

0 comments on commit a08247c

Please sign in to comment.