Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9491
Modified Files:
serendipity_editor.js
Log Message:
* Don't add width to <div> tag
* Nuke <span> lines
Index: serendipity_editor.js
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_editor.js,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- serendipity_editor.js 16 Jul 2004 22:50:57 -0000 1.13
+++ serendipity_editor.js 3 Aug 2004 18:10:58 -0000 1.14
@@ -203,12 +203,10 @@
if (document.getElementById('serendipity_imagecomment').value != '') {
comment = f['serendipity[imagecomment]'].value;
- block = '<div class="serendipity_imageComment_' + floating + '" style="width: ' + imgWidth + 'px">'
- + '<div class="serendipity_imageComment_img">' + insert + '</div>'
- + '<div class="serendipity_imageComment_txt">' + comment.replace("\n", "<br />\n") + '</div>'
- + '</div>'
- + '<span class="serendipity_imageCommentClosing_' + floating + '"><span></span></span>';
-
+ block = '<div class="serendipity_imageComment_' + floating + '">' + "\n"
+ + '<div class="serendipity_imageComment_img">' + insert + '</div>' + "\n"
+ + '<div class="serendipity_imageComment_txt">' + comment.replace("\n", "<br />\n") + '</div>' + "\n"
+ + '</div>';
} else {
block = insert;
}
|