Skip to content

Commit

Permalink
Fix missing hyperlinks in flame graphs (html trickery)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Mar 19, 2024
1 parent 5975ea4 commit 4e5ded8
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion minidebug_runtime.ml
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ module PrintBox (Log_to : Shared_config) = struct
<div style="position: relative; height: 0px;">|};
Buffer.output_buffer toc_ch
@@ stack_to_flame ~elapsed_on_close toc_header entry;
output_string toc_ch @@ {|</div><div style="position: relative; height: |}
output_string toc_ch @@ {|</div><div style="height: |}
^ Int.to_string (depth * 40)
^ {|px;"></div>|};
flush toc_ch));
Expand Down
Loading

0 comments on commit 4e5ded8

Please sign in to comment.