From b201fd5bcdb85c8db42618df2b8c510752be38f0 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Tue, 07 Feb 2012 11:21:31 +0000
Subject: [PATCH] Partial fix for COMMWEB-36: Use make.clean.html and docbook.css.source for styling HTML output
---
opendj3/pom.xml | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/opendj3/pom.xml b/opendj3/pom.xml
index fc14a5b..61ade90 100644
--- a/opendj3/pom.xml
+++ b/opendj3/pom.xml
@@ -411,22 +411,22 @@
<replacevalue>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script>
-// On double-click, reformat <pre class="screen"> for easy copying.
+// On double-click, reformat <div class="screen"> for easy copying.
$(document).ready(function() {
$(".screen").attr("title", "Double-click [-] to flatten lines.");
$(".screen").prepend('<img src="../images/minus.png" class="toggle">');
});
$(".screen").live("dblclick", function() {
$(this).replaceWith(
- "<pre class=\"flat\" title=\"Double-click [+] to wrap long lines.\">" +
+ "<div class=\"flat\" title=\"Double-click [+] to wrap long lines.\">" +
$(this).html().replace(/minus\.png/,"plus.png").replace(/\n /g," ") + "\n<!--" + $(this).html() + "-->" +
- "</pre>");
+ "</div>");
});
$(".flat").live("dblclick", function() {
$(this).replaceWith(
- "<pre class=\"screen\" title=\"Double-click [-] to flatten lines.\">" +
+ "<div class=\"screen\" title=\"Double-click [-] to flatten lines.\">" +
$(this).html().replace(/(.|\n)+<!\-\-/m,"").replace(/\-\-\>/,"").replace(/plus\.png/,"minus.png") +
- "</pre>");
+ "</div>");
});
</script>
<link rel="shortcut icon" href="http://forgerock.org/favicon.ico">
@@ -500,22 +500,22 @@
<replacevalue>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script>
-// On double-click, reformat <pre class="screen"> for easy copying.
+// On double-click, reformat <div class="screen"> for easy copying.
$(document).ready(function() {
$(".screen").attr("title", "Double-click [-] to flatten lines.");
$(".screen").prepend('<img src="./images/minus.png" class="toggle">');
});
$(".screen").live("dblclick", function() {
$(this).replaceWith(
- "<pre class=\"flat\" title=\"Double-click [+] to wrap long lines.\">" +
+ "<div class=\"flat\" title=\"Double-click [+] to wrap long lines.\">" +
$(this).html().replace(/minus\.png/,"plus.png").replace(/\n /g," ") + "\n<!--" + $(this).html() + "-->" +
- "</pre>");
+ "</div>");
});
$(".flat").live("dblclick", function() {
$(this).replaceWith(
- "<pre class=\"screen\" title=\"Double-click [-] to flatten lines.\">" +
+ "<div class=\"screen\" title=\"Double-click [-] to flatten lines.\">" +
$(this).html().replace(/(.|\n)+<!\-\-/m,"").replace(/\-\-\>/,"").replace(/plus\.png/,"minus.png") +
- "</pre>");
+ "</div>");
});
</script>
<link rel="shortcut icon" href="http://forgerock.org/favicon.ico">
--
Gitblit v1.10.0