Files
ports/devel/pear-HTML_Page2/files/patch-HTML_Page2.php
T
Torsten Zuehlsdorff c01a34dcad devel/pear-HTML_Page2: fix HTML5 doctype and add lang attribute
Use <!DOCTYPE html> for HTML 4.01 strict and add lang attribute to
  the html tag for W3C validation compliance.

  PR:           270453
  Submitted by: dvl@FreeBSD.org
  Approved by:  dvl@FreeBSD.org (maintainer timeout)
2026-03-25 15:43:02 +01:00

11 lines
319 B
PHP

--- HTML/Page2.php.orig 2023-03-25 19:41:07 UTC
+++ HTML/Page2.php
@@ -1647,6 +1647,7 @@ class HTML_Page2 extends HTML_Common
$strHtml .= ' profile="'.$this->_profile.'"';
}
+ $strHtml .= ' lang="' . $this->_language . '"';
$strHtml .= '>' . $lnEnd;
}