mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
20.33.2012 6b8474775ad1bb6850ef2c7a3c012811c3b408f6
Fix for COMMWEB-45: IE 8 seems to require DOCTYPE declaration in HTML to interpret CSS correctly
1 files modified
20 ■■■■ changed files
opendj3/pom.xml 20 ●●●● patch | view | raw | blame | history
opendj3/pom.xml
@@ -398,11 +398,17 @@
              </preProcess>
              <postProcess>
                <replace dir="${basedir}/target/docbkx/html/" token="&lt;/html&gt;">
                  <include name="**/**/**/*.html" />
                  <replacevalue>
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html &gt;</replacevalue>
                </replace>
                <replace dir="${basedir}/target/docbkx/html/" token="&lt;/head&gt;">
                  <include name="**/**/**/*.html" />
                  <replacevalue>
&lt;script src="http://code.jquery.com/jquery-latest.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
&lt;script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
// On double-click, reformat &lt;div class="screen"&gt; 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="&lt;/html&gt;">
                  <include name="**/**/*.html" />
                  <replacevalue>
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html &gt;</replacevalue>
                </replace>
                <replace dir="${basedir}/target/docbkx/html/" token="&lt;/head&gt;">
                  <include name="**/**/*.html" />
                  <replacevalue>
&lt;script src="http://code.jquery.com/jquery-latest.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
&lt;script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
// On double-click, reformat &lt;div class="screen"&gt; for easy copying.
$(document).ready(function() {
  $(".screen").attr("title", "Double-click [-] to flatten lines.");