- web: remove align=right on BBcode images

svn path=/trunk/boinc/; revision=22228
This commit is contained in:
David Anderson 2010-08-14 01:49:08 +00:00
parent 780b77036b
commit 7ca6eeecd2
2 changed files with 7 additions and 2 deletions

View File

@ -6053,3 +6053,8 @@ David 13 Aug 2010
lib/ lib/
filesys.cpp filesys.cpp
David 13 Aug 2010
- web: remove align=right on BBcode images
html/inc/
text_transform.inc

View File

@ -156,7 +156,7 @@ function bb2html($text, $export=false) {
"<blockquote>\\1</blockquote>", "<blockquote>\\1</blockquote>",
"<ul>\\1</ul><p>", "<ul>\\1</ul><p>",
"<ol>\\1</ol><p>", "<ol>\\1</ol><p>",
"<img align=bottom src=\"http://\\2\">", "<img hspace=\"8\" src=\"http://\\2\">",
"<font color=\"\\1\">\\2</font>", "<font color=\"\\1\">\\2</font>",
"\\1<li>\\2\n\\3", "\\1<li>\\2\n\\3",
"<span style=\"font-size: \\1px;\">\\2</span>", "<span style=\"font-size: \\1px;\">\\2</span>",
@ -183,7 +183,7 @@ function bb2html($text, $export=false) {
"<blockquote class='postbody'>\\1</blockquote>", "<blockquote class='postbody'>\\1</blockquote>",
"<ul>\\1</ul><p>", "<ul>\\1</ul><p>",
"<ol>\\1</ol><p>", "<ol>\\1</ol><p>",
"<img hspace=8 align=right src=\"http://\\2\">", "<img hspace=\"8\" src=\"http://\\2\">",
"<font color=\"\\1\">\\2</font>", "<font color=\"\\1\">\\2</font>",
"\\1<li>\\2\n\\3", "\\1<li>\\2\n\\3",
"<span style=\"font-size: \\1px;\">\\2</span>", "<span style=\"font-size: \\1px;\">\\2</span>",