CCSDForge / episciences

An overlay journal platform
https://www.episciences.org/
GNU General Public License v3.0
27 stars 2 forks source link

[Bug Report] Paper list drops some spaces in abstracts #446

Closed t-wissmann closed 7 months ago

t-wissmann commented 8 months ago

Describe the bug In the abstracts of the papers listed in the volume browser and in /browse/latest, spaces are missing in some (very few) occassions.

This issue appears on any of these URLs:

The spaces are omitted very rarely, but it seems to be deterministic. If a paper is both in /browse/latest and volume 925, the mistakes are consistent. E.g. search for withnameless in volume 925.

This mistake is in the HTML code sent by the server:

$ wget -q -O - 'https://lmcs.episciences.org/volume/view/id/925' | grep withname
                <blockquote class="abstract">By abstracting over well-known properties of De Bruijn's representation withnameless dummies, we design a new theory of syntax with variable binding andcapture-avoiding substitution. We propose it as a simpler alternative to Fiore,Plotkin, and Turi's approach, with which we establish a strong formal link. Wealso show that our theory easily incorporates simple types and equationsbetween terms.</blockquote>

(The snipped also contains further missing spaces: Fiore,Plotkin and Wealso)

The issue only persists in this paper list, because the abstract on the correspondings paper's page id:13161 contains the space as expected, i.e. prints with nameless.

To Reproduce

$ wget -q -O - https://epijinfo.episciences.org/697 |grep -E 'quotients[ ]*coalg' | head -n 1



**Expected behavior**
Show space characters from abstracts correctly. 

**Browser and Operating System (please complete the following information):**
Shouldn't matter (`qutebrowser v3.0.2` and `GNU Wget 1.21.4 built on linux-gnu.`)
rtournoy commented 7 months ago

Many thanks for the detailed bug report, it really makes a difference when trying to reproduce and fix the bugs :)

We have fixed the issue, the full change log for v1.0.42.3 is available here: https://github.com/CCSDForge/episciences/blob/main/CHANGELOG.md#v10423---2024-03-20

t-wissmann commented 7 months ago

Thanks!