Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use slightly less weird HTML for B<>, I<>, U<>

HTML spec says <u> is a Bad Idea, so I went with <i> for that.
  • Loading branch information...
commit 89f89661f154ef2e22c99237c47883509e6d8004 1 parent 73877b2
@flussence flussence authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Pod/To/HTML.pm
View
6 lib/Pod/To/HTML.pm
@@ -289,13 +289,13 @@ multi sub node2inline(Pod::Block::Para $node) returns Str {
multi sub node2inline(Pod::FormattingCode $node) returns Str {
my %basic-html = (
- B => 'mark', #= Basis
+ B => 'strong', #= Basis
C => 'code', #= Code
- I => 'strong', #= Important
+ I => 'em', #= Important
K => 'kbd', #= Keyboard
R => 'var', #= Replaceable
T => 'samp', #= Terminal
- U => 'em', #= Unimportant
+ U => 'i', #= Unimportant
);
given $node.type {
Please sign in to comment.
Something went wrong with that request. Please try again.