Forcing HTML content type for XHTML documents

This commit is contained in:
Eric van der Vlist 2012-04-28 09:42:21 +02:00
parent 9bce34f7c6
commit c79bd8e49c
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,8 @@
<p:input name="config"> <p:input name="config">
<config> <config>
<scope>session</scope> <scope>session</scope>
<encoding>utf-8</encoding>
<force-encoding>true</force-encoding>
</config> </config>
</p:input> </p:input>
<p:input name="data" href="#record#xpointer(/record/content/document)"/> <p:input name="data" href="#record#xpointer(/record/content/document)"/>
@ -24,6 +26,10 @@
<url> <url>
<xsl:value-of select="/*"/> <xsl:value-of select="/*"/>
</url> </url>
<encoding>utf-8</encoding>
<force-encoding>true</force-encoding>
<content-type>text/html</content-type>
<force-content-type>true</force-content-type>
<mode>html</mode> <mode>html</mode>
</config> </config>
</p:input> </p:input>