Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/SnippetImpl.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/SnippetImpl.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/SnippetImpl.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/SnippetImpl.java
index adb919916a..38bea84435 100644
--- a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/SnippetImpl.java
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/SnippetImpl.java
@@ -252,17 +252,17 @@ public class SnippetImpl extends EmbeddableElementImpl implements Snippet
html = processCallouts(id, html, imagePath);
out.write("<div class=\"snippet\" style=\"margin-left:24px;\" align=\"left\">\n");
- out.write(" <a name=\"snippet_" + id + "\"/>\n");
+ out.write(" <a name=\"snippet_" + id + "\"></a\n");
out.write(" <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n");
out.write(" <tr>\n");
- out.write(" <td><img src=\"" + imagePath + "editor-top-left.png\"/></td>\n");
+ out.write(" <td><img src=\"" + imagePath + "editor-top-left.png\"></img></td>\n");
out.write(" <td style=\"background-image:url(" + imagePath
+ "editor-top1.png); background-repeat:repeat-x;\" width=\"1px\"><font face=\"Segoe UI,Arial\" size=\"-1\">"
+ title + "</font></td>\n");
- out.write(" <td width=\"1px\"><img src=\"" + imagePath + "editor-close.png\"/></td>\n");
+ out.write(" <td width=\"1px\"><img src=\"" + imagePath + "editor-close.png\"></img></td>\n");
out.write(" <td style=\"background-image:url(" + imagePath
+ "editor-top2.png); background-repeat:repeat-x;\">&nbsp;</td>\n");
- out.write(" <td><img src=\"" + imagePath + "editor-top-right.png\"/></td>\n");
+ out.write(" <td><img src=\"" + imagePath + "editor-top-right.png\"></img></td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td style=\"background-image:url(" + imagePath
@@ -281,10 +281,10 @@ public class SnippetImpl extends EmbeddableElementImpl implements Snippet
+ "editor-right.png); background-repeat:repeat-y;\">&nbsp;</td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
- out.write(" <td><img src=\"" + imagePath + "editor-bottom-left.png\"/></td>\n");
+ out.write(" <td><img src=\"" + imagePath + "editor-bottom-left.png\"></img></td>\n");
out.write(" <td style=\"background-image:url(" + imagePath
+ "editor-bottom.png); background-repeat:repeat-x;\" colspan=\"3\">&nbsp;</td>\n");
- out.write(" <td><img src=\"" + imagePath + "editor-bottom-right.png\"/></td>\n");
+ out.write(" <td><img src=\"" + imagePath + "editor-bottom-right.png\"></img></td>\n");
out.write(" </tr>\n");
out.write(" </table>\n");
out.write("</div>\n");
@@ -292,7 +292,7 @@ public class SnippetImpl extends EmbeddableElementImpl implements Snippet
EList<Callout> callouts = getCallouts();
if (!callouts.isEmpty())
{
- out.write("<p/>\n");
+ out.write("<p>\n");
for (Callout callout : callouts)
{
String image = getCalloutImage(id, callout.getIndex(), false, "Jump to snippet...", imagePath);
@@ -311,7 +311,7 @@ public class SnippetImpl extends EmbeddableElementImpl implements Snippet
}
}
- out.write("<p/>\n");
+ out.write("<p>\n");
}
private StructuralElement getStructuralElement(Embedding embedder)
@@ -415,7 +415,7 @@ public class SnippetImpl extends EmbeddableElementImpl implements Snippet
String hrefSuffix = code ? "" : "_code";
String image = "<img src=\"" + imagePath + "callout-" + number
- + ".png\" width=\"16\" height=\"16\" border=\"0\" align=\"top\"/>";
+ + ".png\" width=\"16\" height=\"16\" border=\"0\" align=\"top\"></img>";
alt = PATTERN.matcher(alt).replaceAll("");
alt = alt.replaceAll("\"", "&quot;");

Back to the top