Skip to content

[Bug] Summary.mht links refer to physical file references and not offsets in the mht page(s) #756

Closed as not planned

Description

@Smurf-IV

as per #755

Now it basically the same as HtmlSummary. You are no longer able to navigate to the details pages, JavaScript is blocked.

This is not how mht files are supposed to operate.
Use the steps recorder to see that clickable links still work in mht

as seen in

Image

The links are referring to a physical file url, not a reference in the mht

Activity

  1. changed the title [-][Bug] as per #755 > Now it basically the same as HtmlSummary. You are no longer able to navigate to the details pages, JavaScript is blocked.[/-] [+][Bug] Summary.mht links refer to physical file references and not offsets in the mht page(s)[/+] on Sep 25, 2025
  2. danielpalme commented on Sep 25, 2025

    @danielpalme
    Owner

    Every document within the MHT file has a content location.

    Example:
    https://github.com/danielpalme/ReportGenerator/blob/6c1757415d602228e3621da14b27087b7fbbad85/docs/resources/reports/MHtml/Summary.mht#L3115

    In past it was possible to link from one file within the MHT file to another one:
    Image

    But that does not seem to work any more in modern browsers. In Internet Explorer and earlier version of Chrome/Edge this was still working.

  3. Smurf-IV commented on Sep 30, 2025

    @Smurf-IV
    Author

    If this is now a But that does not seem to work any more in modern browsers. => Wont fix.
    Then the Summary.mht needs to be "Just that" and not a massive file !
    AND: then to have something that is a single downloadable entity that performs the same job (i.e. a single md format file?)

  4. added a commit that references this issue on Oct 6, 2025
  5. danielpalme commented on Oct 6, 2025

    @danielpalme
    Owner

    I added a new report type Markdown in release 5.4.17.
    This report contains details for each class.

    Here an explanation of the indicators in the code view:

    Image
  6. Smurf-IV commented on Oct 7, 2025

    @Smurf-IV
    Author

    Nice, I'll report back when I can get round to using it.

  7. Smurf-IV commented on Oct 8, 2025

    @Smurf-IV
    Author

    Ok, Visual Studio barfs trying to view a 4MB MD file
    Cannot (Not allowed) to install edge extensions so cannot be viewed in browser.

    What about a "Single" html file ? (i.e. the replacement for the mhtml)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions