Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Display bundled html files on MetaCPAN

by rizzo (Curate)
on Mar 10, 2023 at 01:38 UTC ( [id://11150878]=note: print w/replies, xml ) Need Help??


in reply to Display bundled html files on MetaCPAN

Is there a trick to get this at least manually fixed?

I guess you already considered to download sepia.html and remove/decode the html entities using HTML::Entities or Mojo::Util?

Replies are listed 'Best First'.
Re^2: Display bundled html files on MetaCPAN
by tobyink (Canon) on Mar 10, 2023 at 08:46 UTC

    There's no need to do that as the raw HTML can be seen here:

    https://fastapi.metacpan.org/source/SEANO/Sepia-0.992/Sepia.html

    However, I assume LanX wants to see the rendered HTML, not the code, and without a save-to-disk-and-reopen step.

      There's no need to do that as the raw HTML can be seen here:

      In this case the browser fails to render the page because the server sends a Content-Type: text/plain in the http header instead of Content-Type: text/html as it would be expected.

      Maybe this save-to-disk-and-reopen step is not the most elegant way to solve this, but it is the most simple trick that at least I can imagine. And it helps here too.

      FWIW saving this file to a temp dir with Ctrl S and clicking the download helped.

      Not what I was looking for but thanks :)

      Cheers Rolf
      (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
      Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11150878]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found