diff --git a/script.js b/script.js
index 02eb3b2..8512673 100644
--- a/script.js
+++ b/script.js
@@ -182,9 +182,9 @@
}
function entityschema_process_combined_properties(properties) {
- let required_html = '
';
- let optional_html = ' | ';
- let absent_html = ' | ';
+ let required_html = ' | ';
+ let optional_html = '';
+ let absent_html = '';
let other_array = [];
let other_array_names = [];
for (let key in properties) {
@@ -224,10 +224,11 @@
other_array.push(key);
other_array_names.push(properties[key].name);
} else {
- shape_html += `${response1}
+ shape_html += `-
+ ${response1}
- ${key} - ${properties[key].name}
`;
+ ${key} - ${properties[key].name} `
}
switch (properties[key].necessity.combined) {
case "required":
@@ -249,9 +250,9 @@
class="is_entityschema-notinschema">${other_array[item]} - ${other_array_names[item]}`;
}
other_html += " ";
- absent_html += other_html;
- required_html += " | ";
- optional_html += " | ";
+ absent_html += " " + other_html;
+ required_html += " | ";
+ optional_html += "";
absent_html += "";
html = required_html + optional_html + absent_html + '';
return html;