Willy-JL / F95Checker

GNU General Public License v3.0
106 stars 17 forks source link

Spoilers are not cut on non-English forum UI settings #12

Closed ArchmageFil closed 2 years ago

ArchmageFil commented 2 years ago

if I understand correctly, line 300 in api.py is responsible for this. To fix, you need an additional replacement for "Спойлер"

spoilers_uncut

Willy-JL commented 2 years ago

Indeed, checking for the display text is a bad idea. If there's a way to identify all spoilers such as class name or another attribute I'll add some preprocessing that removes the display text from spoilers, otherwise I'll add some translations... thanks for reporting this issue!