Gracefully handle top navigations spanning multiple lines
and prevent navigation entries from being word wrapped

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@693459 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java b/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java
index 1628ea2..6435dfe 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java
@@ -197,7 +197,7 @@
         Map labelMap = ( Map ) request.getAttribute( OsgiManager.ATTR_LABEL_MAP );
         if ( labelMap != null )
         {
-            pw.println( "<p id='technav'>" );
+            pw.println( "<div id='technav'>" );
 
             SortedMap map = new TreeMap();
             for ( Iterator ri = labelMap.entrySet().iterator(); ri.hasNext(); )
@@ -229,10 +229,12 @@
 
             for ( Iterator li = map.values().iterator(); li.hasNext(); )
             {
-                pw.println( li.next() );
+                pw.print  ( "<nobr>" );
+                pw.print  ( li.next() );
+                pw.println( "</nobr>" );
             }
 
-            pw.println( "</p>" );
+            pw.println( "</div>" );
         }
     }