Skip to content

Commit e299780

Browse files
committed
Convert span to div to fix HTML validation issue with hr inside.
1 parent a013860 commit e299780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/core/PGML.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ sub Rule {
16351635
. main::tag(
16361636
'div',
16371637
main::tag(
1638-
'span',
1638+
'div',
16391639
style => "width:$width; display:inline-block; margin:0.3em auto",
16401640
main::tag(
16411641
'hr', style => "width:$width; height:$height; background-color:currentColor; margin:0.3em auto;"

0 commit comments

Comments
 (0)