* style class specifying word-wrap and break-word
*
* @param enclose
- * if true, add <html> wrapper tags
+ * if true, add <html> wrapper tags (currently false for only
+ * two references -- both in Jws2Discoverer --
* @param ttext
*
* @return
return enclose ? "<html>" + ttext + "</html>" : ttext;
}
- return (enclose ? "<html>" : "")
+ return (enclose ? "<html><div style='width:350px'>"
- // BH 2018
+ // BH 2018,2019
+ "<style> div.ttip {width:350px;white-space:pre-wrap;padding:2px;overflow-wrap:break-word;}</style><div class=\"ttip\">"
-
-// + "<style> p.ttip {width:350px;margin:-14px 0px -14px 0px;padding:2px;overflow-wrap:break-word;}"
-// + "</style><p class=\"ttip\">"
-
+ ttext
-
- + " </div>"
-// + "</p>"
- + ((enclose ? "</html>" : ""));
+ + " </div></div>"
+ + "</html>" : ttext);
}