From 6b8474775ad1bb6850ef2c7a3c012811c3b408f6 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 20 Feb 2012 13:33:21 +0000
Subject: [PATCH] Fix for COMMWEB-45: IE 8 seems to require DOCTYPE declaration in HTML to interpret CSS correctly
---
opendj3/pom.xml | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/opendj3/pom.xml b/opendj3/pom.xml
index 8718440..c1d3976 100644
--- a/opendj3/pom.xml
+++ b/opendj3/pom.xml
@@ -398,11 +398,17 @@
</preProcess>
<postProcess>
+ <replace dir="${basedir}/target/docbkx/html/" token="</html>">
+ <include name="**/**/**/*.html" />
+ <replacevalue>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html ></replacevalue>
+ </replace>
<replace dir="${basedir}/target/docbkx/html/" token="</head>">
<include name="**/**/**/*.html" />
<replacevalue>
-<script src="http://code.jquery.com/jquery-latest.min.js"></script>
-<script>
+<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
+<script type="text/javascript">
// On double-click, reformat <div class="screen"> for easy copying.
$(document).ready(function() {
$(".screen").attr("title", "Double-click [-] to flatten lines.");
@@ -480,11 +486,17 @@
</preProcess>
<postProcess>
+ <replace dir="${basedir}/target/docbkx/html/" token="</html>">
+ <include name="**/**/*.html" />
+ <replacevalue>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html ></replacevalue>
+ </replace>
<replace dir="${basedir}/target/docbkx/html/" token="</head>">
<include name="**/**/*.html" />
<replacevalue>
-<script src="http://code.jquery.com/jquery-latest.min.js"></script>
-<script>
+<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
+<script type="text/javascript">
// On double-click, reformat <div class="screen"> for easy copying.
$(document).ready(function() {
$(".screen").attr("title", "Double-click [-] to flatten lines.");
--
Gitblit v1.10.0