[BUGFIX] Meta charset tag adjustment for html5 doctype
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_pagerenderer.php
index fc287a9..7348a9c 100644 (file)
@@ -248,6 +248,16 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                $this->lang = $lang;
        }
 
+       /**
+        * Set the meta charset tag
+        *
+        * @param string $metaCharsetTag
+        * @return void
+        */
+       public function setMetaCharsetTag($metaCharsetTag) {
+               $this->metaCharsetTag = $metaCharsetTag;
+       }
+
        /**
         * Sets html tag
         *
@@ -554,6 +564,15 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                return $this->htmlTag;
        }
 
+       /**
+        * Get meta charset
+        *
+        * @return string
+        */
+       public function getMetaCharsetTag() {
+               return $this->metaCharsetTag;
+       }
+
        /**
         * Gets head tag
         *