Skip to content

Commit

Permalink
Merge pull request #260 from henryju/JENKINS-5335-doctype
Browse files Browse the repository at this point in the history
[JENKINS-5335] Add html doctype on Jenkins to avoid quirks mode.
  • Loading branch information
ssogabe committed Sep 26, 2011
2 parents d6ef420 + a97c918 commit 4266fc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/main/resources/lib/layout/layout.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:i="jelly:fmt">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:i="jelly:fmt" xmlns:x="jelly:xml">
<st:documentation>
Outer-most tag for a normal (non-AJAX) HTML rendering.
This is used with nested &lt;header>, &lt;side-panel>, and &lt;main-panel>
Expand Down Expand Up @@ -82,7 +82,8 @@ THE SOFTWARE.
<st:include it="${pd}" page="httpHeaders.jelly" optional="true"/>
</j:forEach>
</j:if>
<html>
<x:doctype name="html" />
<html>
<head>
${h.checkPermission(it,permission)}

Expand Down

0 comments on commit 4266fc6

Please sign in to comment.