comparison InputParser.inc @ 123:8678ce12d533

Make sure all placeholders are replaced.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 28 Dec 2017 19:43:24 +0100
parents e01ce5722f2b
children 6766250a0baa
comparison
equal deleted inserted replaced
122:74c22a8dd38f 123:8678ce12d533
91 */ 91 */
92 function generateContent() 92 function generateContent()
93 { 93 {
94 //We may need to set and check the contenttype and replace 94 //We may need to set and check the contenttype and replace
95 //saveHTML with saveXML 95 //saveHTML with saveXML
96 $retVal = new PageContent($this->master->saveXML()); 96 $retVal = new PageContent(options::replacePlaceholders($this->master->saveXML()));
97 $retVal->setHeader('Content-Language', $this->options->getLang()); 97 $retVal->setHeader('Content-Language', $this->options->getLang());
98 return $retVal; 98 return $retVal;
99 } 99 }
100 100
101 /** 101 /**