|
@@ -81,11 +81,6 @@ function renderBlock(block, inline) {
|
|
} else {
|
|
} else {
|
|
node = document.createTextNode(block.value);
|
|
node = document.createTextNode(block.value);
|
|
}
|
|
}
|
|
-
|
|
|
|
- // TODO: 兼容旧版填空题答题点做的修改,后续可以删除
|
|
|
|
- if (block.param && block.param.display === "none") {
|
|
|
|
- node = document.createTextNode("");
|
|
|
|
- }
|
|
|
|
} else if (block.type === "image") {
|
|
} else if (block.type === "image") {
|
|
node = document.createElement("img");
|
|
node = document.createElement("img");
|
|
if (inline === true) {
|
|
if (inline === true) {
|