#5916 (truncate_comment truncates in the middle of a html tag)
40 · by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
Screenshot of how the bug looks in Jane:
![]()
Kinder
Kommentare
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) : Okay, this is now fixed.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) : I confirmed that the issue on Jane for displaying #5895 is fixed after upgrade (and checkdata -f).
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) : I published my work. There are two cases marked TODO: in book/docs/topics/truncate.rst but they don't seem urgent. I want to release this quickly to Jane in order to test it in real life.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) : Wow, this was a long day for such a seemingly little thing. I wrote several new implementations of truncate_comment() and finally came back quite close to the original version.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) : I'm still in this... right now rewriting TextCollector.add_chunk()
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) : NB the [url gitlab.com/lino-framework/book/-/jobs/9080437423 SyntaxError: invalid syntax] on GL is from my work, I am working on this.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) (1 Antwort) : I am verifying whether this is a side effect #5907
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) (3 Antworten) : Strange: I added a test case to docs/topics/truncate.rst and then this doctest started to fail at another place.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) : For example in comment 15770 Comment #15770 the html for the reference to #5385 happens to be in the middle of the 300-character limit.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5916 (truncate_comment truncates in the middle of a html tag) : Created new Ticket #5916 (truncate_comment can truncate in the middle of a html tag).