FreeBSD Bugzilla – Attachment 241113 Details for
Bug 270453
devel/pear-HTML_Page2: add in 4.01 strict & HTML 4.01 Transitional
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add in 4.01 strict & HTML 4.01 Transitional
patch.diff (text/plain), 1.41 KB, created by
Dan Langille
on 2023-03-25 21:21:47 UTC
(
hide
)
Description:
add in 4.01 strict & HTML 4.01 Transitional
Filename:
MIME Type:
Creator:
Dan Langille
Created:
2023-03-25 21:21:47 UTC
Size:
1.41 KB
patch
obsolete
>diff --git a/devel/pear-HTML_Page2/files/patch-HTML_Page2.php b/devel/pear-HTML_Page2/files/patch-HTML_Page2.php >new file mode 100644 >index 000000000000..e6b1c814bcae >--- /dev/null >+++ b/devel/pear-HTML_Page2/files/patch-HTML_Page2.php >@@ -0,0 +1,10 @@ >+--- 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; >+ >+ } >diff --git a/devel/pear-HTML_Page2/files/patch-HTML_Page2_Doctypes.php b/devel/pear-HTML_Page2/files/patch-HTML_Page2_Doctypes.php >new file mode 100644 >index 000000000000..938cbf2d120c >--- /dev/null >+++ b/devel/pear-HTML_Page2/files/patch-HTML_Page2_Doctypes.php >@@ -0,0 +1,15 @@ >+--- HTML/Page2/Doctypes.php.orig 2023-03-25 19:40:27 UTC >++++ HTML/Page2/Doctypes.php >+@@ -92,9 +92,9 @@ $doctype['xhtml']['2.0'][] = ' "TBD">'; >+ >+ // HTML 4.01 Strict >+ $doctype['html']['4.01']['strict'][] >+- = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"'; >+-$doctype['html']['4.01']['strict'][] >+- = ' "http://www.w3.org/TR/html4/strict.dtd">'; >++ = '<!DOCTYPE html>'; >++#$doctype['html']['4.01']['strict'][] >++# = ' "http://www.w3.org/TR/html4/strict.dtd">'; >+ >+ // HTML 4.01 Transitional >+ $doctype['html']['4.01']['transitional'][]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270453
: 241113