BugTrack/127
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*セル数の違うテーブルを並べると、前のテーブルが閉じない [...
-ページ: BugTrack
-投稿者: [[ぱんだ]]
-優先順位: 普通
-状態: 完了
-カテゴリー: 本体バグ
-投稿日: 2002-08-07 (水) 17:47:32
-バージョン:
**メッセージ [#u0dafc41]
毎度どうも。訳あって((暇なんです XD ))、convert_htmlを穴...
たとえば
|1|
|1|2|
と書くと
<div class="ie5">
<table class="style_table" cellspacing="1" border="0">
<tr>
<td class="style_td">1</td>
</tr>
<!--ここに </table></div>が必要-->
<div class="ie5">
<table class="style_table" cellspacing="1" border="0">
<tr>
<td class="style_td">1</td>
<td class="style_td">2</td>
</tr>
</table>
</div>
となってしまいます。
問題の場所
--- html.php.orig 2002-08-07 16:53:49.000000000 +0900
+++ html.php 2002-08-07 17:42:37.000000000 +0900
@@ -106,10 +106,12 @@
{
if(!preg_match("/^\/\/(.*)/",$line,$comment_out) && $...
{
- if(!preg_match("/^\|(.+)\|$/",$line,$out))
- array_push($result, "</table></div>");
- if(!$out[1] || $table != count(explode("|",$out[1])))
+ if(!preg_match("/^\|(.+)\|$/",$line,$out) or
+ $table != count(explode("|",$out[1])))
+ {
$table = 0;
+ array_push($result, "</table></div>");
+ }
}
$comment_out = $comment_out[1];
サンプル
|1|
|1|2|
----
-diffファイルで添付していただけると大変助かります。 -- [[...
-わかりました。今度からそうします。 -- [[ぱんだ]] SIZE(10...
-このdiffは他の修正とかも含んでます? -- [[ゆう]] SIZE(10...
-ありゃ。すみません。添付ファイルに、今回のパッチに関係な...
-添付ファイルを差し替えました。 -- [[ぱんだ]] SIZE(10){20...
-ありがとうございました。cvsにとりこみました。 -- [[ゆう]...
//#comment
終了行:
*セル数の違うテーブルを並べると、前のテーブルが閉じない [...
-ページ: BugTrack
-投稿者: [[ぱんだ]]
-優先順位: 普通
-状態: 完了
-カテゴリー: 本体バグ
-投稿日: 2002-08-07 (水) 17:47:32
-バージョン:
**メッセージ [#u0dafc41]
毎度どうも。訳あって((暇なんです XD ))、convert_htmlを穴...
たとえば
|1|
|1|2|
と書くと
<div class="ie5">
<table class="style_table" cellspacing="1" border="0">
<tr>
<td class="style_td">1</td>
</tr>
<!--ここに </table></div>が必要-->
<div class="ie5">
<table class="style_table" cellspacing="1" border="0">
<tr>
<td class="style_td">1</td>
<td class="style_td">2</td>
</tr>
</table>
</div>
となってしまいます。
問題の場所
--- html.php.orig 2002-08-07 16:53:49.000000000 +0900
+++ html.php 2002-08-07 17:42:37.000000000 +0900
@@ -106,10 +106,12 @@
{
if(!preg_match("/^\/\/(.*)/",$line,$comment_out) && $...
{
- if(!preg_match("/^\|(.+)\|$/",$line,$out))
- array_push($result, "</table></div>");
- if(!$out[1] || $table != count(explode("|",$out[1])))
+ if(!preg_match("/^\|(.+)\|$/",$line,$out) or
+ $table != count(explode("|",$out[1])))
+ {
$table = 0;
+ array_push($result, "</table></div>");
+ }
}
$comment_out = $comment_out[1];
サンプル
|1|
|1|2|
----
-diffファイルで添付していただけると大変助かります。 -- [[...
-わかりました。今度からそうします。 -- [[ぱんだ]] SIZE(10...
-このdiffは他の修正とかも含んでます? -- [[ゆう]] SIZE(10...
-ありゃ。すみません。添付ファイルに、今回のパッチに関係な...
-添付ファイルを差し替えました。 -- [[ぱんだ]] SIZE(10){20...
-ありがとうございました。cvsにとりこみました。 -- [[ゆう]...
//#comment
ページ名: