Module:定数表:修订间差异
接入 模块:数据页校验:数据页结构错误时显红字并归入 分类:数据页异常(不再静默渲染空表) |
输出加 __NOCONTENTCONVERT__/__NOTITLECONVERT__:署名与曲名保持 UTF-8 原字,不做繁简变体转换(无需给名字加包裹,无 DOM 开销) |
||
| 第104行: | 第104行: | ||
-- Scribunto 返回文本中的 {{模板}} 不会被自动展开, 必须显式 preprocess | -- Scribunto 返回文本中的 {{模板}} 不会被自动展开, 必须显式 preprocess | ||
return frame:preprocess(table.concat(out, '\n')) | return frame:preprocess('__NOCONTENTCONVERT__\n__NOTITLECONVERT__\n' .. table.concat(out, '\n')) | ||
end | end | ||
| 第143行: | 第143行: | ||
table.insert(out, '|}') | table.insert(out, '|}') | ||
return frame:preprocess(table.concat(out, '\n')) | return frame:preprocess('__NOCONTENTCONVERT__\n__NOTITLECONVERT__\n' .. table.concat(out, '\n')) | ||
end | end | ||
return p | return p | ||