表組みで、セルの要素に特定の文字(例えば「装」や「入」など)が含まれていると、その行が表としてレンダリングされず、そのまま出力されます。
この現象を確認した環境は以下のとおりです:
実例としては、 fuguita.org/?EBUG%E5%8B%89%E5%BC%B7%E4%BC%9A/20200530_%E6%B2%B3%E8%B1%9A%E6%9D%BF%E3%81%AE%E6%AD%B4%E5%8F%B2%28202208%E6%94%B9%29 のようになります。
diff -u lib/convert_html.php.orig lib/convert_html.php --- lib/convert_html.php.orig Tue Jan 11 08:44:45 2022 +++ lib/convert_html.php Fri Mar 31 10:13:44 2023 @@ -120,7 +120,7 @@ // '|'-separated table function & Factory_Table(& $root, $text) { - if (! preg_match('/^\|(.+)\|([hHfFcC]?)$/', $text, $out)) { + if (! preg_match('/^\|(.+)\|([hHfFcC]?)$/u', $text, $out)) { return Factory_Inline($text); } else { return new Table($out);
-- kaw 2023-03-31 (金) 10:15:32