Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.91k stars 542 forks source link

[feature] pod2html should be updated to output modern HTML5 instead of XHTML #17986

Open scottchiefbaker opened 4 years ago

scottchiefbaker commented 4 years ago

pod2html outputs older XHTML that does not play nicely with modern CSS frameworks (Bootstrap, and Bulma). Also the XHTML that pod2html outputs includes a tag:

<?xml version="1.0" ?>

That causes Firefox some grief.

Update the tool to output HTML5 by default with an option to output XHTML with a flag (--xhtml).

ghost commented 3 years ago

I'm curious what differences are in the output files opened in text-browsers.

links | lynx | w3m

Possibly also regarding Emacs eww.

scottchiefbaker commented 3 years ago

I just installed and tested with lynx 2.8.9 and elinks 0.12-0.62 and both render the HTML5 how I would expect a text browser to do so.

Both are 100% readable and happy.

Are we really that worried about text based browsers in 2020?

hvds commented 3 years ago

Are we really that worried about text based browsers in 2020?

FWIW I still regularly use lynx for a variety of purposes.

Grinnz commented 3 years ago

I would posit that it's much more likely a text based browser will be used on the result of a command line tool.