mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(converter) Alter StackexchangeSideloader's summary length to align with the rest of the system.
This commit is contained in:
parent
81ae501e73
commit
e0cd3cd991
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user