(converter) Alter StackexchangeSideloader's summary length to align with the rest of the system.

This commit is contained in:
Viktor Lofgren 2023-09-26 12:19:43 +02:00
parent 81ae501e73
commit e0cd3cd991

View File

@ -132,7 +132,7 @@ public class StackexchangeSideloader implements SideloadSource {
ret.details.features = EnumSet.noneOf(HtmlFeature.class);
ret.details.generator = GeneratorType.DOCS;
ret.details.title = StringUtils.truncate(post.title(), 128);
ret.details.description = StringUtils.truncate(doc.body().text(), 512);
ret.details.description = StringUtils.truncate(doc.body().text(), 255);
ret.details.length = 128;
ret.details.standard = HtmlStandard.HTML5;