shorten summary for filmages
This commit is contained in:
parent
224446313a
commit
513b1de86e
@ -167,10 +167,10 @@
|
|||||||
html += `<p><b>Summary (Filmages):</b> ${shortSummary(r.details.summary)}</p>`;
|
html += `<p><b>Summary (Filmages):</b> ${shortSummary(r.details.summary)}</p>`;
|
||||||
html += `<p><b>Synthesis (Filmages):</b> ${shortSummary(r.details.synthesis, 100)}</p>`;
|
html += `<p><b>Synthesis (Filmages):</b> ${shortSummary(r.details.synthesis, 100)}</p>`;
|
||||||
if (r.details.indications && r.details.indications.length) {
|
if (r.details.indications && r.details.indications.length) {
|
||||||
html += `<p><b>Indications:</b> ${r.details.indications.join(', ')}</p>`;
|
html += `<p><b>Indications:</b> ${shortSummary(r.details.indications.join(', '), 100)}</p>`;
|
||||||
}
|
}
|
||||||
if (r.details.counterIndications && r.details.counterIndications.length) {
|
if (r.details.counterIndications && r.details.counterIndications.length) {
|
||||||
html += `<p><b>Contra-indications:</b> ${r.details.counterIndications.join(', ')}</p>`;
|
html += `<p><b>Contra-indications:</b> ${shortSummary(r.details.counterIndications.join(', '), 100)}</p>`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Fallback
|
// Fallback
|
||||||
|
Loading…
x
Reference in New Issue
Block a user