我必须将 wikitext 解释为可读的语音,并且有各种各样的 HTML 标记可用,例如<math chem>
或<poem>
. 因此,一个持续存在的问题是确定什么是标签,什么是文本。例如:
A propositional fallacy is an error in logic that concerns compound propositions.
For a compound proposition to be true, the truth values of its constituent parts
must satisfy the relevant logical connectives that occur in it
(most commonly: <b><and>, <or>, <not>, <only if>, <if and only if></b>).
确定什么是文本和什么是标签的正确方法是什么?是否有可用的所有 html 标签的列表,或者我应该检查是否存在/>
自结束标签、</and>
结束标签或其他东西?